]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: retry allocation when inline->extent conversion failed
authorJan Kara <jack@suse.cz>
Fri, 20 Dec 2013 14:31:35 +0000 (09:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Dec 2013 14:31:35 +0000 (09:31 -0500)
commit082a64a0a7e09a82b8a261419e72eeaf7af7fa14
tree14a71cd2bbdfe78c4c2427973fe5522fc249ae99
parent73d11f5c540f8419fd381e7d9ad8a0738b8154d2
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