diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2013-08-15 15:36:49 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-07 21:49:32 -0700 |
commit | 59fb9f6b1f98c9ab912bbac7b55ba5bc2e40750b (patch) | |
tree | b02ba6e36161a3d3b5a27fb722db4b644f79c843 /sound | |
parent | cc540ceeceb321a779b1b5a4224774d83a6f1f1b (diff) | |
download | kernel_samsung_tuna-59fb9f6b1f98c9ab912bbac7b55ba5bc2e40750b.zip kernel_samsung_tuna-59fb9f6b1f98c9ab912bbac7b55ba5bc2e40750b.tar.gz kernel_samsung_tuna-59fb9f6b1f98c9ab912bbac7b55ba5bc2e40750b.tar.bz2 |
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>
[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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions