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)
commitbc0ca9df3b2abb13f7da9d8d255ec60718badd84
tree4df0011c79c82f50c057109d38828cdf61527c15
parent9cb00419faa7dd81e921328a71931d2b95ed5876
ext4: retry allocation when inline->extent conversion failed

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