|
@@ -925,9 +925,7 @@ const struct file_operations cifs_file_ops = {
|
|
|
.mmap = cifs_file_mmap,
|
|
|
.splice_read = generic_file_splice_read,
|
|
|
.llseek = cifs_llseek,
|
|
|
-#ifdef CONFIG_CIFS_POSIX
|
|
|
.unlocked_ioctl = cifs_ioctl,
|
|
|
-#endif /* CONFIG_CIFS_POSIX */
|
|
|
.setlease = cifs_setlease,
|
|
|
.fallocate = cifs_fallocate,
|
|
|
};
|
|
@@ -943,9 +941,7 @@ const struct file_operations cifs_file_strict_ops = {
|
|
|
.mmap = cifs_file_strict_mmap,
|
|
|
.splice_read = generic_file_splice_read,
|
|
|
.llseek = cifs_llseek,
|
|
|
-#ifdef CONFIG_CIFS_POSIX
|
|
|
.unlocked_ioctl = cifs_ioctl,
|
|
|
-#endif /* CONFIG_CIFS_POSIX */
|
|
|
.setlease = cifs_setlease,
|
|
|
.fallocate = cifs_fallocate,
|
|
|
};
|
|
@@ -961,9 +957,7 @@ const struct file_operations cifs_file_direct_ops = {
|
|
|
.flush = cifs_flush,
|
|
|
.mmap = cifs_file_mmap,
|
|
|
.splice_read = generic_file_splice_read,
|
|
|
-#ifdef CONFIG_CIFS_POSIX
|
|
|
.unlocked_ioctl = cifs_ioctl,
|
|
|
-#endif /* CONFIG_CIFS_POSIX */
|
|
|
.llseek = cifs_llseek,
|
|
|
.setlease = cifs_setlease,
|
|
|
.fallocate = cifs_fallocate,
|
|
@@ -979,9 +973,7 @@ const struct file_operations cifs_file_nobrl_ops = {
|
|
|
.mmap = cifs_file_mmap,
|
|
|
.splice_read = generic_file_splice_read,
|
|
|
.llseek = cifs_llseek,
|
|
|
-#ifdef CONFIG_CIFS_POSIX
|
|
|
.unlocked_ioctl = cifs_ioctl,
|
|
|
-#endif /* CONFIG_CIFS_POSIX */
|
|
|
.setlease = cifs_setlease,
|
|
|
.fallocate = cifs_fallocate,
|
|
|
};
|
|
@@ -996,9 +988,7 @@ const struct file_operations cifs_file_strict_nobrl_ops = {
|
|
|
.mmap = cifs_file_strict_mmap,
|
|
|
.splice_read = generic_file_splice_read,
|
|
|
.llseek = cifs_llseek,
|
|
|
-#ifdef CONFIG_CIFS_POSIX
|
|
|
.unlocked_ioctl = cifs_ioctl,
|
|
|
-#endif /* CONFIG_CIFS_POSIX */
|
|
|
.setlease = cifs_setlease,
|
|
|
.fallocate = cifs_fallocate,
|
|
|
};
|
|
@@ -1013,9 +1003,7 @@ const struct file_operations cifs_file_direct_nobrl_ops = {
|
|
|
.flush = cifs_flush,
|
|
|
.mmap = cifs_file_mmap,
|
|
|
.splice_read = generic_file_splice_read,
|
|
|
-#ifdef CONFIG_CIFS_POSIX
|
|
|
.unlocked_ioctl = cifs_ioctl,
|
|
|
-#endif /* CONFIG_CIFS_POSIX */
|
|
|
.llseek = cifs_llseek,
|
|
|
.setlease = cifs_setlease,
|
|
|
.fallocate = cifs_fallocate,
|