]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 04:47:27 +0000 (23:47 -0500)
commitca7147e06b5a2a1df5c753b08f56c62162ef71a5
tree7ecde1d3db963af2d44b54388dc5308f64c9a03a
parentb0d24f4509497ac4493c7eb819c5d820633e0395
compat_ioctl: block: handle Persistent Reservations

BugLink: https://bugs.launchpad.net/bugs/1860602
commit b2c0fcd28772f99236d261509bcd242135677965 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Fold in followup patch from Arnd with missing pr.h header include.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
block/compat_ioctl.c