aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-06-08 11:02:39 +0000
committerJens Axboe <[email protected]>2023-06-12 14:04:04 +0000
commitc889d0793d9dc07e94a5fddcc05356157fab00b7 (patch)
tree1dc3ce37560c818272897611b223dba00e01d6b7 /fs/btrfs/dev-replace.c
parentblock: rename blkdev_close to blkdev_release (diff)
downloadkernel-c889d0793d9dc07e94a5fddcc05356157fab00b7.tar.gz
kernel-c889d0793d9dc07e94a5fddcc05356157fab00b7.zip
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 <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions