Skip to content
Commit cb0d9d47 authored by Jan Kara's avatar Jan Kara Committed by Theodore Ts'o
Browse files

jbd2: save some atomic ops in __JI_COMMIT_RUNNING handling



Currently we used atomic bit operations to manipulate
__JI_COMMIT_RUNNING bit. However this is unnecessary as i_flags are
always written and read under j_list_lock. So just change the operations
to standard bit operations.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 1101cd4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment