From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754988AbaG3Btp (ORCPT ); Tue, 29 Jul 2014 21:49:45 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60480 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754966AbaG3Btm (ORCPT ); Tue, 29 Jul 2014 21:49:42 -0400 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mikulas Patocka , "Martin K. Petersen" , Jens Axboe Subject: [PATCH 3.14 06/29] block: provide compat ioctl for BLKZEROOUT Date: Tue, 29 Jul 2014 18:48:41 -0700 Message-Id: <20140730014809.572424946@linuxfoundation.org> X-Mailer: git-send-email 2.0.3 In-Reply-To: <20140730014809.316066303@linuxfoundation.org> References: <20140730014809.316066303@linuxfoundation.org> User-Agent: quilt/0.63-1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mikulas Patocka commit 3b3a1814d1703027f9867d0f5cbbfaf6c7482474 upstream. This patch provides the compat BLKZEROOUT ioctl. The argument is a pointer to two uint64_t values, so there is no need to translate it. Signed-off-by: Mikulas Patocka Acked-by: Martin K. Petersen Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- block/compat_ioctl.c | 1 + 1 file changed, 1 insertion(+) --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -690,6 +690,7 @@ long compat_blkdev_ioctl(struct file *fi case BLKROSET: case BLKDISCARD: case BLKSECDISCARD: + case BLKZEROOUT: /* * the ones below are implemented in blkdev_locked_ioctl, * but we call blkdev_ioctl, which gets the lock for us