summaryrefslogtreecommitdiff
path: root/fs/bio.c
diff options
context:
space:
mode:
authorDave Kleikamp <dave.kleikamp@oracle.com>2013-08-15 15:36:49 -0500
committerBen Hutchings <ben@decadent.org.uk>2013-09-10 01:57:10 +0100
commita103ab32f1683201ab4b61ca53d199be4562a62d (patch)
tree2c99b2a68196f5b9051b911154c432647ce8cec3 /fs/bio.c
parent70bea7f2c038f04b5bc2e84f12615f79ed394d13 (diff)
jfs: fix readdir cookie incompatibility with NFSv4
commit 44512449c0ab368889dd13ae0031fba74ee7e1d2 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> Tested-by: Christian Kujau <lists@nerdbynature.de> [bwh: Backported to 3.2: - Adjust context - s/ctx->pos/filp->f_pos/] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions