commit | 6a68f89ee1f2d177af4a5410fa7a45734c975fd6 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Dec 25 17:45:13 2009 +0100 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Wed Jan 13 09:42:26 2010 -0500 |
tree | 1a462b27a4d783d1b6a368bf6cf9c7970f93b8ae | |
parent | de3cab793c6a5c8505d66bee111edcc7098380ba [diff] |
nfsd: use vfs_fsync for non-directories Instead of opencoding the fsync calling sequence use vfs_fsync. This also gets rid of the useless i_mutex over the data writeout. Consolidate the remaining special code for syncing directories and document it's quirks. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>