summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2023-05-24 20:02:36 +0800
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:28 +0200
commit19c4c49ca9d0eb14987386598e44a533a367f745 (patch)
tree3473c5273cd1a1e487f37166f53259598a53325f /fs/btrfs/dev-replace.c
parent4693893bf8d01c37a8952a3ea2a1bdfeb4106277 (diff)
btrfs: streamline fsid checks in alloc_fs_devices
We currently have redundant checks for the non-null value of fsid simplify it. And, no one is using alloc_fs_devices() with a NULL metadata_uuid while fsid is not NULL, add an assert() to verify this condition. Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions