diff options
| author | Kemeng Shi <[email protected]> | 2024-05-14 11:24:37 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-06-27 14:20:26 +0000 |
| commit | 136d3e0703e807b14ed6f9b8a5a544b6ba08d940 (patch) | |
| tree | c185f805d7252b0074aecdd9579575936e3e1d7f /fs/jbd2/commit.c | |
| parent | jbd2: remove dead equality check of j_commit_[sequence/request] in kjournald2 (diff) | |
| download | kernel-136d3e0703e807b14ed6f9b8a5a544b6ba08d940.tar.gz kernel-136d3e0703e807b14ed6f9b8a5a544b6ba08d940.zip | |
jbd2: remove dead check of JBD2_UNMOUNT in kjournald2
We always set JBD2_UNMOUNT with j_state_lock held in journal_kill_thread.
In kjournald2, we check JBD2_UNMOUNT flag two times under the same
j_state_lock. Then the second check is unnecessary.
Signed-off-by: Kemeng Shi <[email protected]>
Reviewed-by: Zhang Yi <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
