[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.02.1407021244360.20183@file01.intranet.prod.int.rdu2.redhat.com>
Date: Wed, 2 Jul 2014 12:46:23 -0400 (EDT)
From: Mikulas Patocka <mpatocka@...hat.com>
To: Jens Axboe <axboe@...nel.dk>,
"Martin K. Petersen" <martin.petersen@...cle.com>
cc: linux-kernel@...r.kernel.org
Subject: [PATCH] block: provide compat ioctl for BLKZEROOUT
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 <mpatocka@...hat.com>
Cc: stable@...r.kernel.org # 3.7+
---
block/compat_ioctl.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-3.16-rc3/block/compat_ioctl.c
===================================================================
--- linux-3.16-rc3.orig/block/compat_ioctl.c 2014-07-02 18:19:02.000000000 +0200
+++ linux-3.16-rc3/block/compat_ioctl.c 2014-07-02 18:19:37.000000000 +0200
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists