diff mbox

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

Message ID 1456791058-92940-1-git-send-email-smfrench@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Steve French March 1, 2016, 12:10 a.m. UTC
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(-)

Comments

Christoph Hellwig March 1, 2016, 6:50 a.m. UTC | #1
On Mon, Feb 29, 2016 at 06:10:58PM -0600, Steve French wrote:
> 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>

Oops.  The fix looks fine to me:

Reviewed-by: Christoph Hellwig <hch@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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,
 };