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>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user