The kzalloc() in start_this_handle() is failable, so remove __GFP_NOFAIL from its mask. Cc: Andreas Dilger <adilger@xxxxxxx> Cc: Jiri Kosina <jkosina@xxxxxxx> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx> --- fs/jbd2/transaction.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -102,8 +102,7 @@ static int start_this_handle(journal_t *journal, handle_t *handle) alloc_transaction: if (!journal->j_running_transaction) { - new_transaction = kzalloc(sizeof(*new_transaction), - GFP_NOFS|__GFP_NOFAIL); + new_transaction = kzalloc(sizeof(*new_transaction), GFP_NOFS): if (!new_transaction) { ret = -ENOMEM; goto out; -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>