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-16 12:01:57 -07:00
2011-06-15 20:03:59 -07:00
2011-06-20 08:59:46 -07:00
2011-07-08 21:14:44 -07:00
2011-07-13 14:54:37 -04:00
2011-06-01 11:36:49 +01:00
2011-06-06 01:35:10 +02:00
2011-06-21 18:20:55 -07:00
2011-06-10 08:46:26 -06:00
2011-06-20 13:23:14 +02:00
2011-05-31 13:45:53 +02:00
2011-06-13 10:42:49 +02:00
2011-06-16 19:30:53 +02:00
2011-06-27 18:00:13 -07:00
2011-06-07 12:02:00 -07:00
2011-06-20 10:46:04 -04:00
2011-06-27 16:06:19 -07:00
2011-06-01 12:26:35 +01:00
2011-06-30 09:23:45 +02:00
2011-06-09 15:05:48 -07:00
2011-08-04 21:58:34 -07:00
2011-06-27 18:00:13 -07:00
2011-07-07 13:21:56 -07:00
2011-06-24 17:08:49 +09:00
2011-05-30 07:42:51 +02:00
2011-06-16 08:40:52 -06:00
2011-06-27 16:06:19 -07:00
2011-06-01 14:34:01 -04:00
2011-06-06 22:42:06 -07:00
2011-06-11 16:15:50 -07:00
2011-06-14 15:25:39 -07:00
2011-07-07 16:02:26 +00:00
2011-06-03 14:53:15 +02:00
2011-06-13 15:38:22 -04:00
2011-06-15 20:04:00 -07:00
2011-06-17 09:40:48 -07:00
2011-06-15 20:03:59 -07:00
2011-06-12 17:45:41 -04:00
2011-06-15 20:03:59 -07:00
2011-07-12 11:08:01 +10:00
2011-05-29 11:32:28 -07:00
2011-08-04 21:58:38 -07:00
2011-06-27 14:13:09 -07:00
2011-08-04 21:58:31 -07:00
2011-05-29 14:10:13 -07:00
2011-08-04 21:58:40 -07:00
2011-06-20 16:12:26 -04:00
2011-08-04 21:58:37 -07:00
2011-06-18 22:18:18 -04:00
2011-06-03 19:33:49 +03:00
2011-06-04 12:31:14 +02:00
2011-06-21 23:20:20 +02:00
2011-07-20 15:56:25 -07:00
2011-07-18 11:06:03 -07:00
2011-06-11 13:17:28 -07:00
2011-06-27 18:00:12 -07:00
2011-06-11 16:15:50 -07:00
2011-06-17 10:17:12 +02:00
2011-06-27 18:00:12 -07:00
2011-06-06 15:41:16 -04:00
2011-06-12 17:45:41 -04:00
2011-06-15 20:03:59 -07:00
2011-06-04 06:33:24 +09:00
2011-06-07 09:05:42 -07:00
2011-06-15 20:04:00 -07:00
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:14 +09:30
2011-05-30 11:14:16 +09:30