diff options
author | Jingbo Xu <[email protected]> | 2023-06-13 16:40:07 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-20 12:49:23 -0600 |
commit | 12629621669b239445727256d1a5dab616b30deb (patch) | |
tree | f1aea1b4d235f0faf6a23c8b2deecec34bd7cfef /lib/test_fortify/write_overflow-memcpy.c | |
parent | c576c4bf9ecfa3fb9f7b11681cc2f60aba5276c4 (diff) |
block: disallow Persistent Reservation on partitions
Refuse Persistent Reservation operations on partitions as reservation
on partitions doesn't make sense.
Besides, introduce blkdev_pr_allowed() helper, where more policies could
be placed here later.
Signed-off-by: Jingbo Xu <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions