]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: standardize error handling in ext4_da_write_inline_data_begin()
authorJan Kara <jack@suse.cz>
Fri, 20 Dec 2013 14:32:35 +0000 (09:32 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Dec 2013 14:32:35 +0000 (09:32 -0500)
commit27e25f8135e5cd8bc3de132d67e628459b47543d
tree26e5947ab3b4a946c0ca263daeababcf6e203e60
parent082a64a0a7e09a82b8a261419e72eeaf7af7fa14
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