diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-02-03 07:10:25 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-02 07:19:20 +0400 |
commit | 9e8c2af96e0d2d5fe298dd796fb6bc16e888a48d (patch) | |
tree | bd078fdfaf34ce0cb9ab258d39f0669b5610f5c8 /fs/btrfs | |
parent | c186afb4dbd0050a537b96c7fbee2dba3b57fc38 (diff) | |
download | linux-9e8c2af96e0d2d5fe298dd796fb6bc16e888a48d.tar.xz |
callers of iov_copy_from_user_atomic() don't need pagecache_disable()
... it does that itself (via kmap_atomic())
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs')
-rw-r--r-- | fs/btrfs/file.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 0165b8672f09..34e096201da1 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -425,13 +425,8 @@ static noinline int btrfs_copy_from_user(loff_t pos, int num_pages, struct page *page = prepared_pages[pg]; /* * Copy data from userspace to the current page - * - * Disable pagefault to avoid recursive lock since - * the pages are already locked */ - pagefault_disable(); copied = iov_iter_copy_from_user_atomic(page, i, offset, count); - pagefault_enable(); /* Flush processor's dcache for this page */ flush_dcache_page(page); |