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:17:12 -0800 |
commit | 200c86387cc650dbfb33c8a22ae943ed6996648a (patch) | |
tree | c33c28aa5fbceb45cb912e76b0f53e30e291cf00 /include/scsi/libsas.h | |
parent | 5518e7a8f7964cb79760b2ca6736e8997a6e388b (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 'include/scsi/libsas.h')
0 files changed, 0 insertions, 0 deletions