diff options
author | Christoph Hellwig <hch@lst.de> | 2010-03-22 19:32:14 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-05-22 02:31:21 +0400 |
commit | e970a573ce30a3976234dcfb67906c164b0df9ee (patch) | |
tree | 767cbc42caf0956c0251efb23828cfdf6a8a48c9 /fs/sync.c | |
parent | 2e147f1ef7d593b36c0e27a393b7d7ec0765f54b (diff) | |
download | linux-e970a573ce30a3976234dcfb67906c164b0df9ee.tar.xz |
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/sync.c')
0 files changed, 0 insertions, 0 deletions