summaryrefslogtreecommitdiffstats
path: root/fs/jbd2
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2009-12-23 14:05:15 +0100
committerTheodore Ts'o <tytso@mit.edu>2009-12-23 14:05:15 +0100
commit3ebfdf885acedafcadceb4007e77438479094135 (patch)
tree1bd9a4b223aa22e201af9a87868a33ec53605daf /fs/jbd2
parentext4: flush delalloc blocks when space is low (diff)
downloadlinux-3ebfdf885acedafcadceb4007e77438479094135.tar.xz
linux-3ebfdf885acedafcadceb4007e77438479094135.zip
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>
Diffstat (limited to 'fs/jbd2')
-rw-r--r--fs/jbd2/journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 17af879e6e9e..ac0d027595d0 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -814,7 +814,7 @@ static journal_t * journal_init_common (void)
journal_t *journal;
int err;
- journal = kzalloc(sizeof(*journal), GFP_KERNEL|__GFP_NOFAIL);
+ journal = kzalloc(sizeof(*journal), GFP_KERNEL);
if (!journal)
goto fail;