Files
linux/include/linux
Trond Myklebust c14acb19a4 NFS: Fix spurious readdir cookie loop messages
commit 0c0308066c upstream.

If the directory contents change, then we have to accept that the
file->f_pos value may shrink if we do a 'search-by-cookie'. In that
case, we should turn off the loop detection and let the NFS client
try to recover.

The patch also fixes a second loop detection bug by ensuring
that after turning on the ctx->duped flag, we read at least one new
cookie into ctx->dir_cookie before attempting to match with
ctx->dup_cookie.

Reported-by: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-04 21:58:40 -07:00
..
2011-06-01 11:36:49 +01:00
2011-05-31 13:45:53 +02:00
2011-06-27 16:06:19 -07:00
2011-06-09 15:05:48 -07:00
2011-06-27 16:06:19 -07:00
2011-05-29 11:32:28 -07:00
2011-06-27 18:00:12 -07:00
2011-06-15 20:03:59 -07:00
2011-06-07 09:05:42 -07:00
2011-05-30 11:14:16 +09:30