]> Pileus Git - ~andy/linux/commit
ext4: standardize error handling in ext4_da_write_inline_data_begin()
authorJan Kara <jack@suse.cz>
Mon, 6 Jan 2014 19:03:23 +0000 (14:03 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jan 2014 19:03:23 +0000 (14:03 -0500)
commit52e4477758eef45c2fa28b087abf83847126bc28
tree05d53957b0336ae8399553fcba18daf1885bbc41
parentbc0ca9df3b2abb13f7da9d8d255ec60718badd84
ext4: standardize error handling in ext4_da_write_inline_data_begin()

The function has a bit non-standard (for ext4) error recovery in that it
used a mix of 'out' labels and testing for 'handle' being NULL. There
isn't a good reason for that in the function so clean it up a bit.

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