]> 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)
commitb5180520d1d89c92bec8d55c2dd0a57feaa4e3b3
tree1eaa1b081d0745d077145c145aff11988360f3e1
parent5b67af21d220178f8e8491ea44d74fb16977d2f6
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: ae185cc80d1e ("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