From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Tao Subject: [PATCH 6/9] cifs: remove private handler of BTRFS_IOC_CLONE Date: Sun, 25 Oct 2015 07:17:13 +0800 Message-ID: <1445728636-10109-7-git-send-email-tao.peng@primarydata.com> References: <1445728636-10109-1-git-send-email-tao.peng@primarydata.com> Cc: Trond Myklebust , Anna Schumaker , Christoph Hellwig , Zach Brown , Darren Hart , Jeff Layton , bfields@fieldses.org, "Darrick J. Wong" , viro@zeniv.linux.org.uk, linux-nfs@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-cifs@vger.kernel.org, Steve French , Peng Tao To: linux-fsdevel@vger.kernel.org Return-path: In-Reply-To: <1445728636-10109-1-git-send-email-tao.peng@primarydata.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-cifs.vger.kernel.org BTRFS_IOC_CLONE/BTRFS_IOC_CLONE_RANGE is now handled by generic layer and goes through the .copy_file_range method. Signed-off-by: Peng Tao --- fs/cifs/ioctl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/cifs/ioctl.c b/fs/cifs/ioctl.c index bbab940..5dfc63a 100644 --- a/fs/cifs/ioctl.c +++ b/fs/cifs/ioctl.c @@ -267,9 +267,6 @@ long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) case CIFS_IOC_COPYCHUNK_FILE: rc = cifs_ioctl_clone(xid, filep, arg, 0, 0, 0, false); break; - case BTRFS_IOC_CLONE: - rc = cifs_ioctl_clone(xid, filep, arg, 0, 0, 0, true); - break; case CIFS_IOC_SET_INTEGRITY: if (pSMBFile == NULL) break; -- 1.8.3.1