From: Christoph Hellwig Date: Mon, 22 Mar 2010 16:32:14 +0000 (+0100) Subject: nfsd: open a file descriptor for fsync in nfs4 recovery X-Git-Tag: v2.6.35-rc1~432^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e970a573ce30a3976234dcfb67906c164b0df9ee;p=pandora-kernel.git nfsd: open a file descriptor for fsync in nfs4 recovery Instead of just looking up a path use do_filp_open to get us a file structure for the nfs4 recovery directory. This allows us to get rid of the last non-standard vfs_fsync caller with a NULL file pointer. [AV: should be using fput(), not filp_close()] Signed-off-by: Christoph Hellwig Signed-off-by: Al Viro --- Reading git-diff-tree failed