提交 3ebfdf88 编写于 作者: A Andrew Morton 提交者: Theodore Ts'o

jbd2: don't use __GFP_NOFAIL in journal_init_common()

It triggers the warning in get_page_from_freelist(), and it isn't
appropriate to use __GFP_NOFAIL here anyway.

Addresses http://bugzilla.kernel.org/show_bug.cgi?id=14843Reported-by: NChristian Casteyde <casteyde.christian@free.fr>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
上级 c8afb446
...@@ -814,7 +814,7 @@ static journal_t * journal_init_common (void) ...@@ -814,7 +814,7 @@ static journal_t * journal_init_common (void)
journal_t *journal; journal_t *journal;
int err; int err;
journal = kzalloc(sizeof(*journal), GFP_KERNEL|__GFP_NOFAIL); journal = kzalloc(sizeof(*journal), GFP_KERNEL);
if (!journal) if (!journal)
goto fail; goto fail;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册