]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
compat_ioctl: block: handle Persistent Reservations
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Nov 2019 10:28:22 +0000 (11:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 21 Dec 2019 14:26:56 +0000 (07:26 -0700)
commitb2c0fcd28772f99236d261509bcd242135677965
tree1eaa1b081d0745d077145c145aff11988360f3e1
parent4b43f31d65dac587dae09ee27a48fd68a0cfd8c2
compat_ioctl: block: handle Persistent Reservations

These were added to blkdev_ioctl() in linux-5.5 but not
blkdev_compat_ioctl, so add them now.

Cc: <stable@vger.kernel.org> # v4.4+
Fixes: bbd3e064362e ("block: add an API for Persistent Reservations")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fold in followup patch from Arnd with missing pr.h header include.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/compat_ioctl.c