summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-01-06 13:37:03 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-01-07 15:40:45 -0500
commit9a8d248e2d2e9c880ac4561f27fea5dc200655bd (patch)
tree9033bfd8c10f7077d62095d5295e16acac9a4ab2 /net/sunrpc/svc_xprt.c
parent2779e3ae39645515cb6c1126634f47c28c9e7190 (diff)
downloadlinux-stable-9a8d248e2d2e9c880ac4561f27fea5dc200655bd.tar.gz
linux-stable-9a8d248e2d2e9c880ac4561f27fea5dc200655bd.tar.bz2
linux-stable-9a8d248e2d2e9c880ac4561f27fea5dc200655bd.zip
nfsd: fix double-locks of directory mutex
A number of nfsd operations depend on the i_mutex to cover more code than just the fsync, so the approach of 4c728ef583b3d8 "add a vfs_fsync helper" doesn't work for nfsd. Revert the parts of those patches that touch nfsd. Note: we can't, however, remove the logic from vfs_fsync that was needed only for the special case of nfsd, because a vfs_fsync(NULL,...) call can still result indirectly from a stackable filesystem that was called by nfsd. (Thanks to Christoph Hellwig for pointing this out.) Reported-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
0 files changed, 0 insertions, 0 deletions