aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNaohiro Aota <[email protected]>2023-03-13 16:29:49 +0900
committerDavid Sterba <[email protected]>2023-03-15 20:51:06 +0100
commit9e1cdf0c354e46e428c0e0cab008abbe81b6013d (patch)
tree592172299e540456ef69a19e247c91557102050b /net/unix/af_unix.c
parent10a8857a1beaa015efba7d56e06243d484549fb6 (diff)
btrfs: zoned: fix btrfs_can_activate_zone() to support DUP profile
btrfs_can_activate_zone() returns true if at least one device has one zone available for activation. This is OK for the single profile, but not OK for DUP profile. We need two zones to create a DUP block group. Fix it by properly handling the case with the profile flags. Fixes: 265f7237dd25 ("btrfs: zoned: allow DUP on meta-data block groups") CC: [email protected] # 6.1+ Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Naohiro Aota <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions