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>
This commit is contained in:
Al Viro 2013-04-14 15:35:44 -04:00
parent b5edfd2769
commit 79d0a3e399
1 changed files with 0 additions and 7 deletions

View File

@ -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,
};