commit | a6ccbbb8865101d83c2e716f08feae1da1c48584 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@cse.unsw.edu.au> | Thu Jul 07 17:59:11 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Thu Jul 07 18:24:07 2005 -0700 |
tree | 0b55b0673704dcae39d614cb1495cf47590628fb | |
parent | 463090294e1e460cf97f5ade376d4b1e62bc5263 [diff] |
[PATCH] nfsd4: fix sync'ing of recovery directory We need to fsync the recovery directory after writing to it, but we weren't doing this correctly. (For example, we weren't taking the i_sem when calling ->fsync().) Just reuse the existing nfsd fsync code instead. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>