diff options
author | Jan Kara <jack@suse.cz> | 2015-06-08 18:39:07 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-06-08 18:39:07 +0200 |
commit | ee57aba159a5c329dc78c181a3ae0549e59f0925 (patch) | |
tree | 68c77867c84de451aefcc518463649b924055380 /fs/file_table.c | |
parent | ext4 crypto: fix sparse warnings in fs/ext4/ioctl.c (diff) | |
download | linux-ee57aba159a5c329dc78c181a3ae0549e59f0925.tar.xz linux-ee57aba159a5c329dc78c181a3ae0549e59f0925.zip |
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>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions