commit | 213bcd9ccbf04b709e4764ad89aaaa66a47785f0 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Sun Nov 20 17:29:51 2016 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Nov 20 17:29:51 2016 -0500 |
tree | a298ecf92d826d22a1a9a27760d39b05ba4f8b9a | |
parent | c48ae41bafe31e9a66d8be2ced4e42a6b57fa814 [diff] |
ext4: factor out checks from ext4_file_write_iter() Factor out checks of 'from' and whether we are overwriting out of ext4_file_write_iter() so that the function is easier to follow. Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>