[Drbd-dev] [PATCH 8/9] ext4: only initialize mmp_bdevname once
Theodore Ts'o
tytso at mit.edu
Thu Jul 14 16:54:21 CEST 2022
On Wed, Jul 13, 2022 at 07:53:16AM +0200, Christoph Hellwig wrote:
> mmp_bdevname is currently both initialized nested inside the kthread_run
> call in ext4_multi_mount_protect and in the kmmpd thread started by it.
>
> Lift the initiaization out of the kthread_run call in
> ext4_multi_mount_protect, move the BUILD_BUG_ON next to it and remove
> the duplicate assignment inside of kmmpd.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Acked-by: Theodore Ts'o <tytso at mit.edu>
More information about the drbd-dev
mailing list