diff options
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 520a2a6d7670..3b5a1576ae10 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -1853,6 +1853,9 @@ const struct file_operations ocfs2_fops = { | |||
1853 | .aio_read = ocfs2_file_aio_read, | 1853 | .aio_read = ocfs2_file_aio_read, |
1854 | .aio_write = ocfs2_file_aio_write, | 1854 | .aio_write = ocfs2_file_aio_write, |
1855 | .ioctl = ocfs2_ioctl, | 1855 | .ioctl = ocfs2_ioctl, |
1856 | #ifdef CONFIG_COMPAT | ||
1857 | .compat_ioctl = ocfs2_compat_ioctl, | ||
1858 | #endif | ||
1856 | .splice_read = ocfs2_file_splice_read, | 1859 | .splice_read = ocfs2_file_splice_read, |
1857 | .splice_write = ocfs2_file_splice_write, | 1860 | .splice_write = ocfs2_file_splice_write, |
1858 | }; | 1861 | }; |
@@ -1862,4 +1865,7 @@ const struct file_operations ocfs2_dops = { | |||
1862 | .readdir = ocfs2_readdir, | 1865 | .readdir = ocfs2_readdir, |
1863 | .fsync = ocfs2_sync_file, | 1866 | .fsync = ocfs2_sync_file, |
1864 | .ioctl = ocfs2_ioctl, | 1867 | .ioctl = ocfs2_ioctl, |
1868 | #ifdef CONFIG_COMPAT | ||
1869 | .compat_ioctl = ocfs2_compat_ioctl, | ||
1870 | #endif | ||
1865 | }; | 1871 | }; |