diff options
| author | Christoph Hellwig <[email protected]> | 2023-06-08 11:02:40 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-06-12 14:04:04 +0000 |
| commit | 29499ab060fec044161be73fb0e448eab97b4813 (patch) | |
| tree | c970c77c1205ecb83e2c9ab00e96494aedb5152f /fs/btrfs/dev-replace.c | |
| parent | swsusp: don't pass a stack address to blkdev_get_by_path (diff) | |
| download | kernel-29499ab060fec044161be73fb0e448eab97b4813.tar.gz kernel-29499ab060fec044161be73fb0e448eab97b4813.zip | |
bcache: don't pass a stack address to blkdev_get_by_path
sb is just an on-stack pointer that can easily be reused by other calls.
Switch to use the bcache-wide bcache_kobj instead as there is no need to
claim per-bcache device anyway.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[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
