diff options
author | 2024-01-28 23:52:16 -0800 | |
---|---|---|
committer | 2024-02-12 08:41:15 -0700 | |
commit | 9105ce591b424771b1502ef9836ca7953c3e0af4 (patch) | |
tree | 45209bccb1b9f2f46da934edbad41ab24bd14b4a /include/linux/blkdev.h | |
parent | s390/dasd: fix double module refcount decrement (diff) | |
download | wireguard-linux-9105ce591b424771b1502ef9836ca7953c3e0af4.tar.xz wireguard-linux-9105ce591b424771b1502ef9836ca7953c3e0af4.zip |
zonefs: pass GFP_KERNEL to blkdev_zone_mgmt() call
Pass GFP_KERNEL instead of GFP_NOFS to the blkdev_zone_mgmt() call in
zonefs_zone_mgmt().
As as zonefs_zone_mgmt() and zonefs_inode_zone_mgmt() are never called
from a place that can recurse back into the filesystem on memory reclaim,
it is save to call blkdev_zone_mgmt() with GFP_KERNEL.
Link: https://lore.kernel.org/all/ZZcgXI46AinlcBDP@casper.infradead.org/
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Acked-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240128-zonefs_nofs-v3-1-ae3b7c8def61@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions