summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-30 12:45:35 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-30 14:34:50 -0400
commit0c0308066ca53fdf1423895f3a42838b67b3a5a8 (patch)
tree4c6f0d852456581a7ca17286601d18d7bb030632 /Kconfig
parented1e6211a0a134ff23592c6f057af982ad5dab52 (diff)
downloadop-kernel-dev-0c0308066ca53fdf1423895f3a42838b67b3a5a8.zip
op-kernel-dev-0c0308066ca53fdf1423895f3a42838b67b3a5a8.tar.gz
NFS: Fix spurious readdir cookie loop messages
If the directory contents change, then we have to accept that the file->f_pos value may shrink if we do a 'search-by-cookie'. In that case, we should turn off the loop detection and let the NFS client try to recover. The patch also fixes a second loop detection bug by ensuring that after turning on the ctx->duped flag, we read at least one new cookie into ctx->dir_cookie before attempting to match with ctx->dup_cookie. Reported-by: Petr Vandrovec <petr@vandrovec.name> Cc: stable@kernel.org [2.6.39+] Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud