X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=mm%2Fshmem.c;h=1ea2400b52450fccdc526d569d1447657379609d;hb=d9f0acdeef48570c4e6159d3108f12b64571392e;hp=cf2d0ca010bc52efd5ea86c7f6ba760a5c3ef286;hpb=3f3c73de77b5598e9f87812ac4da9445090c3b4a;p=firefly-linux-kernel-4.4.55.git diff --git a/mm/shmem.c b/mm/shmem.c index cf2d0ca010bc..1ea2400b5245 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -31,7 +31,7 @@ #include #include #include -#include +#include static struct vfsmount *shm_mnt; @@ -3118,8 +3118,6 @@ static const struct file_operations shmem_file_operations = { .mmap = shmem_mmap, #ifdef CONFIG_TMPFS .llseek = shmem_file_llseek, - .read = new_sync_read, - .write = new_sync_write, .read_iter = shmem_file_read_iter, .write_iter = generic_file_write_iter, .fsync = noop_fsync,