ext4: check error return from ext4_write_inline_data_end()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Jul 2013 12:12:39 +0000 (08:12 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Jul 2013 12:12:39 +0000 (08:12 -0400)
commit42c832debbbf819f6c4ad8601baa559c44105ba4
tree454b3ac82c41ebdb3a88782744f7e8636fe2f29f
parent353eefd3386982ab8f7e14de079ec347dfe05509
ext4: check error return from ext4_write_inline_data_end()

The function ext4_write_inline_data_end() can return an error.  So we
need to assign it to a signed integer variable to check for an error
return (since copied is an unsigned int).

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Zheng Liu <wenqing.lz@taobao.com>
Cc: stable@vger.kernel.org
fs/ext4/inode.c