Commit bf1dc50b authored by Yu Kuai's avatar Yu Kuai Committed by Greg Kroah-Hartman
Browse files

md: factor out a helper from mddev_put()



commit 3d8d3287 upstream.

There are no functional changes, prepare to simplify md_seq_ops in next
patch.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230927061241.1552837-2-yukuai1@huaweicloud.com


[minor context conflict]
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Cc: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 92f0f21b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment