projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3685f79
)
Btrfs: Avoid recursive KM_USER1 mappings in copy_extent_buffer
author
Chris Mason
<chris.mason@oracle.com>
Fri, 19 Oct 2007 14:39:41 +0000
(10:39 -0400)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:57 +0000
(11:03 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_map.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent_map.c
b/fs/btrfs/extent_map.c
index caaf0bf0e05920988d07a7683d9747c5cf66f563..a61379230dd276e53a0cb00895b81150220837f3 100644
(file)
--- a/
fs/btrfs/extent_map.c
+++ b/
fs/btrfs/extent_map.c
@@
-2586,9
+2586,9
@@
void copy_extent_buffer(struct extent_buffer *dst, struct extent_buffer *src,
cur = min(len, (unsigned long)(PAGE_CACHE_SIZE - offset));
- kaddr = kmap_atomic(page, KM_USER
1
);
+ kaddr = kmap_atomic(page, KM_USER
0
);
read_extent_buffer(src, kaddr + offset, src_offset, cur);
- kunmap_atomic(kaddr, KM_USER
1
);
+ kunmap_atomic(kaddr, KM_USER
0
);
src_offset += cur;
len -= cur;