aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2023-08-23 14:52:13 +0000
committerDavid Sterba <[email protected]>2023-10-12 14:44:02 +0000
commitf7361d8c3fc3df524bd17517f37adb619c5f99bb (patch)
tree750fab8c21e4e0c16bb858c1237fa7298a61b720 /fs/btrfs/async-thread.c
parentbtrfs: update comment for reservation of metadata space for delayed items (diff)
downloadkernel-f7361d8c3fc3df524bd17517f37adb619c5f99bb.tar.gz
kernel-f7361d8c3fc3df524bd17517f37adb619c5f99bb.zip
btrfs: sipmlify uuid parameters of alloc_fs_devices()
Among all the callers, only the device_list_add() function uses the second argument of alloc_fs_devices(). It passes metadata_uuid when available, otherwise, it passes NULL. And in turn, alloc_fs_devices() is designed to copy either metadata_uuid or fsid into fs_devices::metadata_uuid. So remove the second argument in alloc_fs_devices(), and always copy the fsid. In the caller device_list_add() function, we will overwrite it with metadata_uuid when it is available. Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions