diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-17 18:56:24 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-10 16:36:36 -0500 |
commit | 23da5cb8a11fcedd874ebbd667afaace183232de (patch) | |
tree | 648fcd79af3f3c399b298a2479ebd2f182fb8d3c /mm | |
parent | f70c458b8b05eb3ea7897e9fb4ca2f13a6d3af12 (diff) |
filemap-fix-up.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Wrecked-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-m6yuzd6ul717hlnl2gj6p3ou@git.kernel.org
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 03c5b0ec2b78..4a30d36ca4c8 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -2044,7 +2044,7 @@ size_t iov_iter_copy_from_user_atomic(struct page *page, char *kaddr; size_t copied; - BUG_ON(!in_atomic()); + BUG_ON(!pagefault_disabled()); kaddr = kmap_atomic(page, KM_USER0); if (likely(i->nr_segs == 1)) { int left; |