summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtsock.c
diff options
context:
space:
mode:
authorKinglong Mee2014-03-29 03:23:47 +0100
committerJ. Bruce Fields2014-03-30 16:47:34 +0200
commit2336745e87a646a3dc9570f082b85df519ee523e (patch)
tree70975174a7fe3e0be2f5b07d06590e4190af6865 /net/sunrpc/xprtsock.c
parentnfsd: Don't return NFS4ERR_STALE_STATEID for NFSv4.1+ (diff)
downloadkernel-qcow2-linux-2336745e87a646a3dc9570f082b85df519ee523e.tar.gz
kernel-qcow2-linux-2336745e87a646a3dc9570f082b85df519ee523e.tar.xz
kernel-qcow2-linux-2336745e87a646a3dc9570f082b85df519ee523e.zip
NFSD: Clear wcc data between compound ops
Testing NFS4.0 by pynfs, I got some messeages as, "nfsd: inode locked twice during operation." When one compound RPC contains two or more ops that locks the filehandle,the second op will cause the message. As two SETATTR ops, after the first SETATTR, nfsd will not call fh_put() to release current filehandle, it means filehandle have unlocked with fh_post_saved = 1. The second SETATTR find fh_post_saved = 1, and printk the message. v2: introduce helper fh_clear_wcc(). Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions