Commit 79d0a3e3 authored by Al Viro's avatar Al Viro

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b5edfd27
...@@ -580,17 +580,10 @@ static int hppfs_readdir(struct file *file, void *ent, filldir_t filldir) ...@@ -580,17 +580,10 @@ static int hppfs_readdir(struct file *file, void *ent, filldir_t filldir)
return err; 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 = { static const struct file_operations hppfs_dir_fops = {
.owner = NULL, .owner = NULL,
.readdir = hppfs_readdir, .readdir = hppfs_readdir,
.open = hppfs_dir_open, .open = hppfs_dir_open,
.fsync = hppfs_fsync,
.llseek = default_llseek, .llseek = default_llseek,
.release = hppfs_release, .release = hppfs_release,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment