summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2016-02-29 08:02:11 +0100
committerSteve French <smfrench@gmail.com>2016-03-01 16:38:00 +0100
commit9589995e46d89c70c6fa4723c5f3e5ec04c3c3e3 (patch)
treec5e45c97f96296b3a5498cb517901befb9c7894f /fs
parentFix cifs_uniqueid_to_ino_t() function for s390x (diff)
downloadlinux-9589995e46d89c70c6fa4723c5f3e5ec04c3c3e3.tar.xz
linux-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,
};