diff options
author | Christoph Hellwig <hch@lst.de> | 2010-03-22 17:32:14 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-22 00:31:21 +0200 |
commit | e970a573ce30a3976234dcfb67906c164b0df9ee (patch) | |
tree | 767cbc42caf0956c0251efb23828cfdf6a8a48c9 /fs/openpromfs | |
parent | fs: inode.c use atomic_inc_return in __iget (diff) | |
download | linux-e970a573ce30a3976234dcfb67906c164b0df9ee.tar.xz linux-e970a573ce30a3976234dcfb67906c164b0df9ee.zip |
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>
Diffstat (limited to 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions