commit | 44512449c0ab368889dd13ae0031fba74ee7e1d2 | [log] [tgz] |
---|---|---|
author | Dave Kleikamp <dave.kleikamp@oracle.com> | Thu Aug 15 15:36:49 2013 -0500 |
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | Thu Aug 15 17:22:29 2013 -0500 |
tree | 28ac7c89b26e2acacc00c850ac74e825333db72a | |
parent | f1d6e17f540af37bb1891480143669ba7636c4cf [diff] |
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>