diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-11-11 16:15:42 +0900 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-11-11 16:15:42 +0900 |
commit | 96d25e532234bec1a1989e6e1baf702d43a78b0d (patch) | |
tree | c299127355fbf90ca0a4b400c88022e952f013af /net/sunrpc/svc.c | |
parent | 799dd75b1a8380a967c929a4551895788c374b31 (diff) |
NFSv4: Fix a cache validation bug which causes getcwd() to return ENOENT
Changeset a65318bf3afc93ce49227e849d213799b072c5fd (NFSv4: Simplify some
cache consistency post-op GETATTRs) incorrectly changed the getattr
bitmap for readdir().
This causes the readdir() function to fail to return a
fileid/inode number, which again exposed a bug in the NFS readdir code that
causes spurious ENOENT errors to appear in applications (see
http://bugzilla.kernel.org/show_bug.cgi?id=14541).
The immediate band aid is to revert the incorrect bitmap change, but more
long term, we should change the NFS readdir code to cope with the
fact that NFSv4 servers are not required to support fileids/inode numbers.
Reported-by: Daniel J Blueman <daniel.blueman@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/svc.c')
0 files changed, 0 insertions, 0 deletions