diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-14 15:35:44 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:42 -0400 |
commit | 79d0a3e399576c380787be5dd36be51de763af62 (patch) | |
tree | 16738b18e6d83c0d8291ca2d9f3b2c11d9a5b2ef /fs | |
parent | b5edfd27699de420f3af2c34fc7ad9686f169933 (diff) |
hppfs: get rid of ->fsync()
it has grown by accident - directories there do *not* use page cache, so
there's nothing to write.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/hppfs/hppfs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 8ef57793c923..cd3e38972c86 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c @@ -580,17 +580,10 @@ static int hppfs_readdir(struct file *file, void *ent, filldir_t filldir) return err; } -static int hppfs_fsync(struct file *file, loff_t start, loff_t end, - int datasync) -{ - return filemap_write_and_wait_range(file->f_mapping, start, end); -} - static const struct file_operations hppfs_dir_fops = { .owner = NULL, .readdir = hppfs_readdir, .open = hppfs_dir_open, - .fsync = hppfs_fsync, .llseek = default_llseek, .release = hppfs_release, }; |