Add generic file and dir seek methods

Two more xfstests pass when we can seek in files and dirs.

Signed-off-by: Zach Brown <zab@versity.com>
Reviewed-by: Mark Fasheh <mfasheh@versity.com>
This commit is contained in:
Zach Brown
2017-04-18 14:03:22 -07:00
parent efd95688d3
commit e61697a54e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -545,6 +545,7 @@ const struct file_operations scoutfs_file_fops = {
.aio_write = generic_file_aio_write,
.unlocked_ioctl = scoutfs_ioctl,
.fsync = scoutfs_file_fsync,
.llseek = generic_file_llseek,
};
int scoutfs_data_setup(struct super_block *sb)
+1
View File
@@ -942,6 +942,7 @@ out:
const struct file_operations scoutfs_dir_fops = {
.readdir = scoutfs_readdir,
.fsync = scoutfs_file_fsync,
.llseek = generic_file_llseek,
};
const struct inode_operations scoutfs_dir_iops = {