summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2016-02-29 01:02:11 -0600
committerSteve French <smfrench@gmail.com>2016-03-01 09:38:00 -0600
commit9589995e46d89c70c6fa4723c5f3e5ec04c3c3e3 (patch)
treec5e45c97f96296b3a5498cb517901befb9c7894f /fs
parent1ee9f4bd1a97026a7b2d7ae9f1f74b45680d0003 (diff)
downloadlinux-stable-9589995e46d89c70c6fa4723c5f3e5ec04c3c3e3.tar.gz
linux-stable-9589995e46d89c70c6fa4723c5f3e5ec04c3c3e3.tar.bz2
linux-stable-9589995e46d89c70c6fa4723c5f3e5ec04c3c3e3.zip
CIFS: Fix duplicate line introduced by clone_file_range patch
Commit 04b38d601239b4 ("vfs: pull btrfs clone API to vfs layer") added a duplicated line (in cifsfs.c) which causes a sparse compile warning. Signed-off-by: Steve French <steve.french@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index c48ca13673e3..2eea40353e60 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -1013,7 +1013,6 @@ const struct file_operations cifs_file_strict_ops = {
.llseek = cifs_llseek,
.unlocked_ioctl = cifs_ioctl,
.clone_file_range = cifs_clone_file_range,
- .clone_file_range = cifs_clone_file_range,
.setlease = cifs_setlease,
.fallocate = cifs_fallocate,
};