From 0f40d735c09f2fb09bcf0d1678250e70a40ca56f Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 31 Aug 2010 06:50:30 +0000 Subject: nfs3: Logging and comments made more accurate Signed-off-by: Shehjar Tikoo Signed-off-by: Vijay Bellur BUG: 1378 (Deep directory creation crashes gnfs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1378 --- xlators/nfs/server/src/nfs3-fh.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xlators/nfs/server/src/nfs3-fh.c') diff --git a/xlators/nfs/server/src/nfs3-fh.c b/xlators/nfs/server/src/nfs3-fh.c index 5a5d9aaa6e4..7a7a06da058 100644 --- a/xlators/nfs/server/src/nfs3-fh.c +++ b/xlators/nfs/server/src/nfs3-fh.c @@ -276,6 +276,10 @@ nfs3_fh_compute_size (struct nfs3_fh *fh) return fhlen; } + +/* There is no point searching at a directory level which is beyond that of + * the hashcount given in the file handle. + */ int nfs3_fh_hash_index_is_beyond (struct nfs3_fh *fh, int hashidx) { -- cgit