summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-08-17 10:07:17 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-08-17 10:07:17 -0400
commit5208386c501276df18fee464e21d3c58d2d79517 (patch)
tree96d312aa9a9e3afed79e82185e3be055fb5c2a87 /fs/ext4/ext4.h
parent5f1132b2ba8c873f25982cf45917e8455fb6c962 (diff)
downloadlwn-5208386c501276df18fee464e21d3c58d2d79517.tar.gz
lwn-5208386c501276df18fee464e21d3c58d2d79517.zip
ext4: simplify truncation code in ext4_setattr()
Merge conditions in ext4_setattr() handling inode size changes, also move ext4_begin_ordered_truncate() call somewhat earlier because it simplifies error recovery in case of failure. Also add error handling in case i_disksize update fails. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ext4/ext4.h')
0 files changed, 0 insertions, 0 deletions