summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-06-08 14:02:39 +0300
committerJens Axboe <axboe@kernel.dk>2023-06-12 17:04:04 +0300
commitc889d0793d9dc07e94a5fddcc05356157fab00b7 (patch)
tree1dc3ce37560c818272897611b223dba00e01d6b7 /fs/btrfs/dev-replace.c
parent7ee34cbc291a28134b60683b246ba58b4b676ec3 (diff)
downloadlinux-c889d0793d9dc07e94a5fddcc05356157fab00b7.tar.xz
swsusp: don't pass a stack address to blkdev_get_by_path
holder is just an on-stack pointer that can easily be reused by other calls, replace it with a static variable that doesn't change. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Acked-by: Rafael J. Wysocki <rafael@kernel.org> Link: https://lore.kernel.org/r/20230608110258.189493-12-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions