From: NeilBrown Date: Fri, 8 Jul 2005 00:59:11 +0000 (-0700) Subject: [PATCH] nfsd4: fix sync'ing of recovery directory X-Git-Tag: v2.6.13-rc3~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6ccbbb8865101d83c2e716f08feae1da1c48584;p=pandora-kernel.git [PATCH] nfsd4: fix sync'ing of recovery directory We need to fsync the recovery directory after writing to it, but we weren't doing this correctly. (For example, we weren't taking the i_sem when calling ->fsync().) Just reuse the existing nfsd fsync code instead. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed