diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 5082fce3c566..ae48ef042977 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -559,6 +559,10 @@ struct file_operations cifs_file_ops = { | |||
559 | .flush = cifs_flush, | 559 | .flush = cifs_flush, |
560 | .mmap = cifs_file_mmap, | 560 | .mmap = cifs_file_mmap, |
561 | .sendfile = generic_file_sendfile, | 561 | .sendfile = generic_file_sendfile, |
562 | #ifdef CONFIG_CIFS_POSIX | ||
563 | .ioctl = cifs_ioctl, | ||
564 | #endif /* CONFIG_CIFS_POSIX */ | ||
565 | |||
562 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 566 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
563 | .readv = generic_file_readv, | 567 | .readv = generic_file_readv, |
564 | .writev = generic_file_writev, | 568 | .writev = generic_file_writev, |
@@ -579,6 +583,10 @@ struct file_operations cifs_file_direct_ops = { | |||
579 | .fsync = cifs_fsync, | 583 | .fsync = cifs_fsync, |
580 | .flush = cifs_flush, | 584 | .flush = cifs_flush, |
581 | .sendfile = generic_file_sendfile, /* BB removeme BB */ | 585 | .sendfile = generic_file_sendfile, /* BB removeme BB */ |
586 | #ifdef CONFIG_CIFS_POSIX | ||
587 | .ioctl = cifs_ioctl, | ||
588 | #endif /* CONFIG_CIFS_POSIX */ | ||
589 | |||
582 | #ifdef CONFIG_CIFS_EXPERIMENTAL | 590 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
583 | .dir_notify = cifs_dir_notify, | 591 | .dir_notify = cifs_dir_notify, |
584 | #endif /* CONFIG_CIFS_EXPERIMENTAL */ | 592 | #endif /* CONFIG_CIFS_EXPERIMENTAL */ |