OSDN Git Service

ext4: allow ext4_ext_truncate() to return an error
authorTheodore Ts'o <tytso@mit.edu>
Mon, 14 Nov 2016 03:02:28 +0000 (22:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Nov 2016 03:02:28 +0000 (22:02 -0500)
commitd0abb36db44faaf8f8aa148ca206fe2404042dec
treeba2df0fb5b53f82725400269e6de78e0fd0042a1
parent2c98eb5ea249767bbc11cf4e70e91d5b0458ed13
ext4: allow ext4_ext_truncate() to return an error

Return errors to the caller instead of declaring the file system
corrupted.

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