diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 19:37:03 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-07 21:40:45 +0100 |
commit | 9a8d248e2d2e9c880ac4561f27fea5dc200655bd (patch) | |
tree | 9033bfd8c10f7077d62095d5295e16acac9a4ab2 /net/sunrpc/svcauth.c | |
parent | svc: Move kfree of deferral record to common code (diff) | |
download | linux-9a8d248e2d2e9c880ac4561f27fea5dc200655bd.tar.xz linux-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/svcauth.c')
0 files changed, 0 insertions, 0 deletions