diff mbox

[2/2] CIFS: Fix duplicate line introduced by clone_file_range patch

Message ID CAH2r5msmUBtWJ9S5x15KOyfArWQmEWvshZuYD7wb1OiJKfegJQ@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve French March 1, 2016, 12:11 a.m. UTC
Merged into cifs-2.6.git


---------- Forwarded message ----------
From: Steve French <smfrench@gmail.com>
Date: Mon, Feb 29, 2016 at 6:10 PM
Subject: [PATCH 2/2] CIFS: Fix duplicate line introduced by
clone_file_range patch
To: linux-cifs@vger.kernel.org
Cc: Steve French <smfrench@gmail.com>, Steve French
<steve.french@primarydata.com>, Christoph Hellwig <hch@lst.de>


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>
CC: Christoph Hellwig <hch@lst.de>
---
 fs/cifs/cifsfs.c | 1 -
 1 file changed, 1 deletion(-)

--
1.9.1
diff mbox

Patch

diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index c48ca13..2eea403 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,
 };