aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorXiao Ni <[email protected]>2025-06-11 07:31:07 +0000
committerYu Kuai <[email protected]>2025-07-12 09:51:59 +0000
commit5f286f33553d600e6c2fb5a23dd6afcf99b3ebac (patch)
tree129e8b6ed79fc740ca1a38eb2a5f22720a7c71b5 /net/unix/af_unix.c
parentmd: call del_gendisk in control path (diff)
downloadkernel-5f286f33553d600e6c2fb5a23dd6afcf99b3ebac.tar.gz
kernel-5f286f33553d600e6c2fb5a23dd6afcf99b3ebac.zip
md: Don't clear MD_CLOSING until mddev is freed
UNTIL_STOP is used to avoid mddev is freed on the last close before adding disks to mddev. And it should be cleared when stopping an array which is mentioned in commit efeb53c0e572 ("md: Allow md devices to be created by name."). So reset ->hold_active to 0 in md_clean. And MD_CLOSING should be kept until mddev is freed to avoid reopen. Reviewed-by: Yu Kuai <[email protected]> Signed-off-by: Xiao Ni <[email protected]> Link: https://lore.kernel.org/linux-raid/[email protected] Signed-off-by: Yu Kuai <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions