]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: allow ext4_truncate() to return an error
authorTheodore Ts'o <tytso@mit.edu>
Mon, 14 Nov 2016 03:02:26 +0000 (22:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Nov 2016 03:02:26 +0000 (22:02 -0500)
commit0eac429231099f7392cb32905dee9d7d28c39873
treede83b9e69d357898b2b737257b33dfc1ace75ba8
parent9b90557138a48afcf262b4af5cb291703f65098c
ext4: allow ext4_truncate() to return an error

This allows us to properly propagate errors back up to
ext4_truncate()'s callers.  This also means we no longer have to
silently ignore some errors (e.g., when trying to add the inode to the
orphan inode list).

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/ioctl.c
fs/ext4/super.c