From: nikita Date: Fri, 20 Oct 2006 23:13:41 +0000 (+0000) Subject: llite: readdir: reset dup counter. X-Git-Tag: v1_8_0_110~486^2~411 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=e93c44eccb003f50bb07b4794028c0431a2d9d6d;p=fs%2Flustre-release.git llite: readdir: reset dup counter. --- diff --git a/lustre/llite/dir.c b/lustre/llite/dir.c index 7a99bac..26e9ced 100644 --- a/lustre/llite/dir.c +++ b/lustre/llite/dir.c @@ -487,6 +487,8 @@ int ll_readdir(struct file *filp, void *cookie, filldir_t filldir) */ if (hash == prevhash) dup++; + else + dup = 0; prevhash = hash; if (hash == fd->fd_dir.lfd_duppos &&