diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-29 06:38:46 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-01 09:08:22 -0700 |
commit | 268283244c0f018dec8bf4a9c69ce50684561f46 (patch) | |
tree | db768352ad1d32047f181ef49ddca6a26a6e31fa /drivers/md/md.c | |
parent | 242a49e5c8784e93a99e4dc4277b28a8ba85eac5 (diff) | |
download | linux-268283244c0f018dec8bf4a9c69ce50684561f46.tar.gz linux-268283244c0f018dec8bf4a9c69ce50684561f46.tar.bz2 linux-268283244c0f018dec8bf4a9c69ce50684561f46.zip |
nbd: use the atomic queue limits API in nbd_set_size
Use queue_limits_start_update / queue_limits_commit_update to update
all the limits in one go and with proper sanity checking.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240229143846.1047223-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions