From: Dave Kleikamp Date: Wed, 21 Dec 2011 17:05:48 +0000 (-0600) Subject: vfs: __read_cache_page should use gfp argument rather than GFP_KERNEL X-Git-Tag: v3.2-rc7~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6f67b8c05f5e129e126f4409ddac6f25f58ffcb;p=pandora-kernel.git vfs: __read_cache_page should use gfp argument rather than GFP_KERNEL 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 Acked-by: Hugh Dickins Acked-by: Al Viro Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed