diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-17 18:56:24 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-01 09:28:27 -0600 |
commit | db18f757a9a7762538a4f3d5eff001ea1ad34477 (patch) | |
tree | 84cf962632b352781ee7745fcd2c861414a98b98 /mm | |
parent | c96258d645784dab189fbf6d8a99135e847efe7b (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; |