]> Git Repo - linux.git/commitdiff
CIFS: Fix duplicate line introduced by clone_file_range patch
authorSteve French <[email protected]>
Mon, 29 Feb 2016 07:02:11 +0000 (01:02 -0600)
committerSteve French <[email protected]>
Tue, 1 Mar 2016 15:38:00 +0000 (09:38 -0600)
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
fs/cifs/cifsfs.c

index c48ca13673e37f2eba7c4045f140e6e8b740e499..2eea40353e6086fc808da8c74deeaaf158a43da9 100644 (file)
@@ -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,
 };
This page took 0.058371 seconds and 4 git commands to generate.