diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2013-08-15 15:36:49 -0500 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2013-08-15 17:22:29 -0500 |
commit | 44512449c0ab368889dd13ae0031fba74ee7e1d2 (patch) | |
tree | 28ac7c89b26e2acacc00c850ac74e825333db72a /fs/read_write.c | |
parent | f1d6e17f540af37bb1891480143669ba7636c4cf (diff) | |
download | kernel-common-44512449c0ab368889dd13ae0031fba74ee7e1d2.tar.gz kernel-common-44512449c0ab368889dd13ae0031fba74ee7e1d2.tar.bz2 kernel-common-44512449c0ab368889dd13ae0031fba74ee7e1d2.zip |
jfs: fix readdir cookie incompatibility with NFSv4
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>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions