diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-03 15:41:18 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:29:40 -0400 |
commit | 5d5d568975307877e9195f5305f4240e506a2807 (patch) | |
tree | b58d5b1af9e77189357b95f5cb0dc635bba65285 /mm | |
parent | 86cc05840a0da1afcb6b8151b53f3b606457c91b (diff) |
make new_sync_{read,write}() static
All places outside of core VFS that checked ->read and ->write for being NULL or
called the methods directly are gone now, so NULL {read,write} with non-NULL
{read,write}_iter will do the right thing in all cases.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 80b360c7bcd1..1ea2400b5245 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -3118,8 +3118,6 @@ static const struct file_operations shmem_file_operations = { | |||
3118 | .mmap = shmem_mmap, | 3118 | .mmap = shmem_mmap, |
3119 | #ifdef CONFIG_TMPFS | 3119 | #ifdef CONFIG_TMPFS |
3120 | .llseek = shmem_file_llseek, | 3120 | .llseek = shmem_file_llseek, |
3121 | .read = new_sync_read, | ||
3122 | .write = new_sync_write, | ||
3123 | .read_iter = shmem_file_read_iter, | 3121 | .read_iter = shmem_file_read_iter, |
3124 | .write_iter = generic_file_write_iter, | 3122 | .write_iter = generic_file_write_iter, |
3125 | .fsync = noop_fsync, | 3123 | .fsync = noop_fsync, |