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.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index 2b3d572365a..a484412fc78 100644
--- a/fs/ext2/file.c
+++ b/fs/ext2/file.c
@@ -58,17 +58,13 @@ struct file_operations ext2_file_operations = {
#ifdef CONFIG_EXT2_FS_XIP
struct file_operations ext2_xip_file_operations = {
.llseek = generic_file_llseek,
- .read = do_sync_read,
- .write = do_sync_write,
- .aio_read = xip_file_aio_read,
- .aio_write = xip_file_aio_write,
+ .read = xip_file_read,
+ .write = xip_file_write,
.ioctl = ext2_ioctl,
.mmap = xip_file_mmap,
.open = generic_file_open,
.release = ext2_release_file,
.fsync = ext2_sync_file,
- .readv = xip_file_readv,
- .writev = xip_file_writev,
.sendfile = xip_file_sendfile,
};
#endif