diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-08 07:22:00 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2009-06-12 03:36:14 +0200 |
commit | c475879556a8602bbe2faa9a06f6e5fcc8c05bb2 (patch) | |
tree | 9d7e4882a08171d1ff1b84e3f02d3e604756815b /fs/affs/dir.c | |
parent | repair bfs_write_inode(), switch bfs to simple_fsync() (diff) | |
download | linux-c475879556a8602bbe2faa9a06f6e5fcc8c05bb2.tar.xz linux-c475879556a8602bbe2faa9a06f6e5fcc8c05bb2.zip |
sanitize ->fsync() for affs
unfortunately, for affs (especially for affs directories) we have
no real way to keep track of metadata ownership. So we have to
do more or less what file_fsync() does, but we do *not* need to
call write_super() there.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/dir.c')
-rw-r--r-- | fs/affs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/dir.c b/fs/affs/dir.c index 7b36904dbeac..8ca8f3a55599 100644 --- a/fs/affs/dir.c +++ b/fs/affs/dir.c @@ -21,7 +21,7 @@ const struct file_operations affs_dir_operations = { .read = generic_read_dir, .llseek = generic_file_llseek, .readdir = affs_readdir, - .fsync = file_fsync, + .fsync = affs_file_fsync, }; /* |