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

jbd2: simplify code flow in do_get_write_access()



needs_copy is set only in one place in do_get_write_access(), just move
the frozen buffer copying into that place and factor it out to a
separate function to make do_get_write_access() slightly more readable.

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