commit | e970a573ce30a3976234dcfb67906c164b0df9ee | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Mar 22 17:32:14 2010 +0100 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Fri May 21 18:31:21 2010 -0400 |
tree | 767cbc42caf0956c0251efb23828cfdf6a8a48c9 | |
parent | 2e147f1ef7d593b36c0e27a393b7d7ec0765f54b [diff] |
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 <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>