diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2011-12-21 11:05:48 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:13:54 -0800 |
commit | 2f79eddd49d391aded0b0c20f7eef3bec6d5e096 (patch) | |
tree | edb3ff8cf2b0f5fecac30d01ac691e0ec0672dfa /mm/vmalloc.c | |
parent | 20e725bc08091c303a469d8e1e295bf3b360c778 (diff) |
vfs: __read_cache_page should use gfp argument rather than GFP_KERNEL
commit e6f67b8c05f5e129e126f4409ddac6f25f58ffcb upstream.
lockdep reports a deadlock in jfs because a special inode's rw semaphore
is taken recursively. The mapping's gfp mask is GFP_NOFS, but is not
used when __read_cache_page() calls add_to_page_cache_lru().
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions