diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2014-07-02 12:46:23 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-07-30 11:15:55 +0200 |
commit | be8e93639cc104bf9da5eee99f3cbd63ce8c6c7c (patch) | |
tree | 672f62a162fcc8c376bc549b0c8fe7cb08691f33 /block/compat_ioctl.c | |
parent | aa0bb3b50855eefdfbf93e7d87999e4b7cf53390 (diff) | |
download | linux-rt-be8e93639cc104bf9da5eee99f3cbd63ce8c6c7c.tar.gz |
block: provide compat ioctl for BLKZEROOUT
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 <mpatocka@redhat.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'block/compat_ioctl.c')
-rw-r--r-- | block/compat_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/compat_ioctl.c b/block/compat_ioctl.c index fbd5a67cb773..a0926a6094b2 100644 --- a/block/compat_ioctl.c +++ b/block/compat_ioctl.c @@ -690,6 +690,7 @@ long compat_blkdev_ioctl(struct file *file, unsigned cmd, unsigned long arg) 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 |