ext4: prevent fsreentrance deadlock for inline_data
commit5cc28a9eaab21ce7ded7845b32e2eafc4bbeb175
authorDmitry Monakhov <dmonakhov@openvz.org>
Tue, 2 Dec 2014 21:09:50 +0000 (2 16:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Dec 2014 21:09:50 +0000 (2 16:09 -0500)
treea2c58f9c69d275ab8a6794c89ccb64232d5634fb
parentd4f761074353b9aa42a3bdd039d78e1af5f5f29f
ext4: prevent fsreentrance deadlock for inline_data

ext4_da_convert_inline_data_to_extent() invokes
grab_cache_page_write_begin().  grab_cache_page_write_begin performs
memory allocation, so fs-reentrance should be prohibited because we
are inside journal transaction.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inline.c