diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 16:22:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 16:22:56 -0400 |
commit | fa927894bbb4a4c7669c72bad1924991022fda38 (patch) | |
tree | 93560f1a096973235fe9ff50c436f5239c1c499a /fs/cifs | |
parent | c841e12add6926d64aa608687893465330b5a03e (diff) | |
parent | 8436318205b9f29e45db88850ec60e326327e241 (diff) |
Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull second vfs update from Al Viro:
"Now that net-next went in... Here's the next big chunk - killing
->aio_read() and ->aio_write().
There'll be one more pile today (direct_IO changes and
generic_write_checks() cleanups/fixes), but I'd prefer to keep that
one separate"
* 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (37 commits)
->aio_read and ->aio_write removed
pcm: another weird API abuse
infinibad: weird APIs switched to ->write_iter()
kill do_sync_read/do_sync_write
fuse: use iov_iter_get_pages() for non-splice path
fuse: switch to ->read_iter/->write_iter
switch drivers/char/mem.c to ->read_iter/->write_iter
make new_sync_{read,write}() static
coredump: accept any write method
switch /dev/loop to vfs_iter_write()
serial2002: switch to __vfs_read/__vfs_write
ashmem: use __vfs_read()
export __vfs_read()
autofs: switch to __vfs_write()
new helper: __vfs_write()
switch hugetlbfs to ->read_iter()
coda: switch to ->read_iter/->write_iter
ncpfs: switch to ->read_iter/->write_iter
net/9p: remove (now-)unused helpers
p9_client_attach(): set fid->uid correctly
...
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifsfs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index d72fe37f5420..eaab4b2a0595 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -906,8 +906,6 @@ const struct inode_operations cifs_symlink_inode_ops = { | |||
906 | }; | 906 | }; |
907 | 907 | ||
908 | const struct file_operations cifs_file_ops = { | 908 | const struct file_operations cifs_file_ops = { |
909 | .read = new_sync_read, | ||
910 | .write = new_sync_write, | ||
911 | .read_iter = cifs_loose_read_iter, | 909 | .read_iter = cifs_loose_read_iter, |
912 | .write_iter = cifs_file_write_iter, | 910 | .write_iter = cifs_file_write_iter, |
913 | .open = cifs_open, | 911 | .open = cifs_open, |
@@ -926,8 +924,6 @@ const struct file_operations cifs_file_ops = { | |||
926 | }; | 924 | }; |
927 | 925 | ||
928 | const struct file_operations cifs_file_strict_ops = { | 926 | const struct file_operations cifs_file_strict_ops = { |
929 | .read = new_sync_read, | ||
930 | .write = new_sync_write, | ||
931 | .read_iter = cifs_strict_readv, | 927 | .read_iter = cifs_strict_readv, |
932 | .write_iter = cifs_strict_writev, | 928 | .write_iter = cifs_strict_writev, |
933 | .open = cifs_open, | 929 | .open = cifs_open, |
@@ -947,8 +943,6 @@ const struct file_operations cifs_file_strict_ops = { | |||
947 | 943 | ||
948 | const struct file_operations cifs_file_direct_ops = { | 944 | const struct file_operations cifs_file_direct_ops = { |
949 | /* BB reevaluate whether they can be done with directio, no cache */ | 945 | /* BB reevaluate whether they can be done with directio, no cache */ |
950 | .read = new_sync_read, | ||
951 | .write = new_sync_write, | ||
952 | .read_iter = cifs_user_readv, | 946 | .read_iter = cifs_user_readv, |
953 | .write_iter = cifs_user_writev, | 947 | .write_iter = cifs_user_writev, |
954 | .open = cifs_open, | 948 | .open = cifs_open, |
@@ -967,8 +961,6 @@ const struct file_operations cifs_file_direct_ops = { | |||
967 | }; | 961 | }; |
968 | 962 | ||
969 | const struct file_operations cifs_file_nobrl_ops = { | 963 | const struct file_operations cifs_file_nobrl_ops = { |
970 | .read = new_sync_read, | ||
971 | .write = new_sync_write, | ||
972 | .read_iter = cifs_loose_read_iter, | 964 | .read_iter = cifs_loose_read_iter, |
973 | .write_iter = cifs_file_write_iter, | 965 | .write_iter = cifs_file_write_iter, |
974 | .open = cifs_open, | 966 | .open = cifs_open, |
@@ -986,8 +978,6 @@ const struct file_operations cifs_file_nobrl_ops = { | |||
986 | }; | 978 | }; |
987 | 979 | ||
988 | const struct file_operations cifs_file_strict_nobrl_ops = { | 980 | const struct file_operations cifs_file_strict_nobrl_ops = { |
989 | .read = new_sync_read, | ||
990 | .write = new_sync_write, | ||
991 | .read_iter = cifs_strict_readv, | 981 | .read_iter = cifs_strict_readv, |
992 | .write_iter = cifs_strict_writev, | 982 | .write_iter = cifs_strict_writev, |
993 | .open = cifs_open, | 983 | .open = cifs_open, |
@@ -1006,8 +996,6 @@ const struct file_operations cifs_file_strict_nobrl_ops = { | |||
1006 | 996 | ||
1007 | const struct file_operations cifs_file_direct_nobrl_ops = { | 997 | const struct file_operations cifs_file_direct_nobrl_ops = { |
1008 | /* BB reevaluate whether they can be done with directio, no cache */ | 998 | /* BB reevaluate whether they can be done with directio, no cache */ |
1009 | .read = new_sync_read, | ||
1010 | .write = new_sync_write, | ||
1011 | .read_iter = cifs_user_readv, | 999 | .read_iter = cifs_user_readv, |
1012 | .write_iter = cifs_user_writev, | 1000 | .write_iter = cifs_user_writev, |
1013 | .open = cifs_open, | 1001 | .open = cifs_open, |