ext4: fix return value of ext4_do_update_inode
authorLi Xi <pkuelelixi@gmail.com>
Thu, 2 Oct 2014 02:11:06 +0000 (22:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 2 Oct 2014 02:11:06 +0000 (22:11 -0400)
commitbce92d566a57893e98ec83e4e5447f860d2889b7
tree8fdbc6d3ea56f689c2709579bb5396ff7d396348
parentd6320cbfc92910a3e5f10c42d98c231c98db4f60
ext4: fix return value of ext4_do_update_inode

When ext4_do_update_inode() gets error from ext4_inode_blocks_set(),
error number should be returned.

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/inode.c
This page took 0.02725 seconds and 5 git commands to generate.