aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-14 15:35:44 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 15:41:42 -0400
commit79d0a3e399576c380787be5dd36be51de763af62 (patch)
tree16738b18e6d83c0d8291ca2d9f3b2c11d9a5b2ef
parentb5edfd27699de420f3af2c34fc7ad9686f169933 (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>
-rw-r--r--fs/hppfs/hppfs.c7
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)
580 return err; 580 return err;
581} 581}
582 582
583static int hppfs_fsync(struct file *file, loff_t start, loff_t end,
584 int datasync)
585{
586 return filemap_write_and_wait_range(file->f_mapping, start, end);
587}
588
589static const struct file_operations hppfs_dir_fops = { 583static const struct file_operations hppfs_dir_fops = {
590 .owner = NULL, 584 .owner = NULL,
591 .readdir = hppfs_readdir, 585 .readdir = hppfs_readdir,
592 .open = hppfs_dir_open, 586 .open = hppfs_dir_open,
593 .fsync = hppfs_fsync,
594 .llseek = default_llseek, 587 .llseek = default_llseek,
595 .release = hppfs_release, 588 .release = hppfs_release,
596}; 589};