mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
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=14843 Reported-by: Christian Casteyde <casteyde.christian@free.fr> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
c8afb44682
commit
3ebfdf885a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue