ext4: retry allocation when inline->extent conversion failed
authorJan Kara <jack@suse.cz>
Mon, 6 Jan 2014 19:02:23 +0000 (14:02 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jan 2014 19:02:23 +0000 (14:02 -0500)
Similarly as other ->write_begin functions in ext4, also
ext4_da_write_inline_data_begin() should retry allocation if the
conversion failed because of ENOSPC. This avoids returning ENOSPC
prematurely because of uncommitted block deletions.

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

Simple merge