From: J. Bruce Fields Date: Tue, 6 Jan 2009 18:37:03 +0000 (-0500) Subject: nfsd: fix double-locks of directory mutex X-Git-Tag: v2.6.29-rc1~177^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a8d248e2d2e9c880ac4561f27fea5dc200655bd;p=pandora-kernel.git 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 Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed