diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_file.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c index d0d412afd261..24fa3b101b93 100644 --- a/fs/xfs/linux-2.6/xfs_file.c +++ b/fs/xfs/linux-2.6/xfs_file.c | |||
@@ -565,7 +565,7 @@ struct file_operations linvfs_file_operations = { | |||
565 | .sendfile = linvfs_sendfile, | 565 | .sendfile = linvfs_sendfile, |
566 | .unlocked_ioctl = linvfs_ioctl, | 566 | .unlocked_ioctl = linvfs_ioctl, |
567 | #ifdef CONFIG_COMPAT | 567 | #ifdef CONFIG_COMPAT |
568 | .compat_ioctl = xfs_compat_ioctl, | 568 | .compat_ioctl = linvfs_compat_ioctl, |
569 | #endif | 569 | #endif |
570 | .mmap = linvfs_file_mmap, | 570 | .mmap = linvfs_file_mmap, |
571 | .open = linvfs_open, | 571 | .open = linvfs_open, |
@@ -587,7 +587,7 @@ struct file_operations linvfs_invis_file_operations = { | |||
587 | .sendfile = linvfs_sendfile, | 587 | .sendfile = linvfs_sendfile, |
588 | .unlocked_ioctl = linvfs_ioctl_invis, | 588 | .unlocked_ioctl = linvfs_ioctl_invis, |
589 | #ifdef CONFIG_COMPAT | 589 | #ifdef CONFIG_COMPAT |
590 | .compat_ioctl = xfs_compat_invis_ioctl, | 590 | .compat_ioctl = linvfs_compat_invis_ioctl, |
591 | #endif | 591 | #endif |
592 | .mmap = linvfs_file_mmap, | 592 | .mmap = linvfs_file_mmap, |
593 | .open = linvfs_open, | 593 | .open = linvfs_open, |
@@ -600,6 +600,9 @@ struct file_operations linvfs_dir_operations = { | |||
600 | .read = generic_read_dir, | 600 | .read = generic_read_dir, |
601 | .readdir = linvfs_readdir, | 601 | .readdir = linvfs_readdir, |
602 | .unlocked_ioctl = linvfs_ioctl, | 602 | .unlocked_ioctl = linvfs_ioctl, |
603 | #ifdef CONFIG_COMPAT | ||
604 | .compat_ioctl = linvfs_compat_ioctl, | ||
605 | #endif | ||
603 | .fsync = linvfs_fsync, | 606 | .fsync = linvfs_fsync, |
604 | }; | 607 | }; |
605 | 608 | ||