]> git.baikalelectronics.ru Git - kernel.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)
commit5180faf7b99766ab31e8c9a200e3b56c458f8002
tree1eaa1b081d0745d077145c145aff11988360f3e1
parent46b484f5b294d67b5ea747cfd000aad5c28e4307
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: f2526fab2fde ("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