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

jbd2: more simplifications in do_get_write_access()



Check for the simple case of unjournaled buffer first, handle it and
bail out. This allows us to remove one if and unindent the difficult case
by one tab. The result is easier to read.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent d012aa59
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