Files
linux/fs/jfs
Dave Kleikamp 192caed2bf jfs: fix readdir cookie incompatibility with NFSv4
commit 44512449c0 upstream.

NFSv4 reserves readdir cookie values 0-2 for special entries (. and ..),
but jfs allows a value of 2 for a non-special entry. This incompatibility
can result in the nfs client reporting a readdir loop.

This patch doesn't change the value stored internally, but adds one to
the value exposed to the iterate method.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
[bwh: Backported to 3.2:
 - Adjust context
 - s/ctx->pos/filp->f_pos/]
Tested-by: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-07 22:09:57 -07:00
..
2012-12-20 18:40:52 -05:00
2013-05-07 20:16:25 -07:00
2013-02-22 23:31:31 -05:00
2006-10-02 09:55:27 -05:00
2008-05-13 08:22:10 -05:00
2008-06-10 15:12:58 -05:00
2011-03-31 11:26:23 -03:00
2006-10-02 09:55:27 -05:00
2007-04-26 07:30:29 -05:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-08-09 11:25:17 +02:00
2006-10-02 09:55:27 -05:00
2009-01-09 15:42:04 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2009-01-09 15:42:04 -06:00
2009-02-02 13:43:28 -06:00
2010-04-16 08:05:50 -05:00