diff options
| author | Christoph Hellwig <[email protected]> | 2022-07-13 07:53:16 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-07-14 10:27:56 -0600 |
| commit | c5b045b9838972cc4c4985a32fa5d35ecf2ab15a (patch) | |
| tree | 639de65ef867d74e6baa8a3b4531257346b478bf /include/linux | |
| parent | 4664954c9421ce326bb5c84f175902b03f17237e (diff) | |
ext4: only initialize mmp_bdevname once
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 <[email protected]>
Acked-by: Theodore Ts'o <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions