Files
ack-tegra/include/linux
Trond Myklebust 0c0308066c NFS: Fix spurious readdir cookie loop messages
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>
Cc: stable@kernel.org [2.6.39+]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2011-07-30 14:34:50 -04:00
..
2011-06-20 15:34:19 -04:00
2011-05-04 14:08:36 -07:00
2011-07-20 17:20:57 -04:00
2011-07-20 20:47:43 -04:00
2011-05-31 13:45:53 +02:00
2011-05-26 17:12:34 -07:00
2011-05-26 17:12:34 -07:00
2011-05-19 15:59:38 -07:00
2011-07-20 01:44:12 -04:00
2011-07-05 23:42:17 -07:00
2011-05-23 10:47:06 -05:00
2011-05-29 13:03:09 +01:00
2011-05-24 10:21:29 +02:00
2011-05-24 10:21:29 +02:00
2011-06-27 16:06:19 -07:00
2011-05-26 12:03:50 -07:00
2011-05-25 20:43:32 +02:00
2011-07-01 10:37:15 +02:00
2011-05-08 16:41:45 -07:00
2011-07-06 01:56:38 -07:00
2011-07-21 13:47:54 -07:00
2011-06-14 11:30:22 +02:00
2011-05-26 17:12:37 -07:00
2011-05-19 20:50:53 -04:00
2011-05-24 14:33:35 +02:00
2011-05-29 11:32:28 -07:00
2011-07-05 15:26:58 -04:00
2011-07-12 13:40:28 -04:00
2011-05-26 17:12:37 -07:00
2011-05-24 12:10:51 +02:00
2011-05-13 16:31:00 -07:00
2011-07-23 07:56:59 +01:00
2011-05-25 08:39:19 -07:00
2011-06-07 10:02:35 +02:00
2011-07-05 15:26:58 -04:00
2011-06-27 18:00:12 -07:00
2011-06-15 20:03:59 -07:00
2011-06-27 20:30:08 +02:00
2011-06-07 09:05:42 -07:00
2011-05-30 11:14:16 +09:30