diff options
author | Dave Kleikamp <[email protected]> | 2011-12-21 11:05:48 -0600 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-12-21 17:02:46 -0800 |
commit | e6f67b8c05f5e129e126f4409ddac6f25f58ffcb (patch) | |
tree | 4df809de3016d2e84467bded094c192adaf5218a /fs/jbd2/commit.c | |
parent | 7b21a202b87b7f18587bd15ee6bdb477fed0fb43 (diff) |
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 <[email protected]>
Acked-by: Hugh Dickins <[email protected]>
Acked-by: Al Viro <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions