summaryrefslogtreecommitdiffstats
path: root/fs/ext2/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext2/file.c')
-rw-r--r--fs/ext2/file.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index 7c87b22a7228..a247123fd798 100644
--- a/fs/ext2/file.c
+++ b/fs/ext2/file.c
@@ -81,8 +81,10 @@ const struct file_operations ext2_file_operations = {
81#ifdef CONFIG_EXT2_FS_XIP 81#ifdef CONFIG_EXT2_FS_XIP
82const struct file_operations ext2_xip_file_operations = { 82const struct file_operations ext2_xip_file_operations = {
83 .llseek = generic_file_llseek, 83 .llseek = generic_file_llseek,
84 .read = xip_file_read, 84 .read = new_sync_read,
85 .write = xip_file_write, 85 .write = new_sync_write,
86 .read_iter = generic_file_read_iter,
87 .write_iter = generic_file_write_iter,
86 .unlocked_ioctl = ext2_ioctl, 88 .unlocked_ioctl = ext2_ioctl,
87#ifdef CONFIG_COMPAT 89#ifdef CONFIG_COMPAT
88 .compat_ioctl = ext2_compat_ioctl, 90 .compat_ioctl = ext2_compat_ioctl,