commit | ee57aba159a5c329dc78c181a3ae0549e59f0925 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Jun 08 12:39:07 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Jun 08 12:39:07 2015 -0400 |
tree | 68c77867c84de451aefcc518463649b924055380 | |
parent | b4ab9e29820bf2e8842281a6b5e645e59c9992a5 [diff] |
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: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>