Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128506
b: refs/heads/master
c: ff190c0
h: refs/heads/master
v: v3
  • Loading branch information
Chris Mason committed Sep 25, 2008
1 parent 06fc521 commit d5c0c8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3685f791659c9f21b763ee1702ac8ca58bc20f81
refs/heads/master: ff190c0c004d8e51195c7bcf5a8490aeefccbce0
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/extent_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_USER1);
kaddr = kmap_atomic(page, KM_USER0);
read_extent_buffer(src, kaddr + offset, src_offset, cur);
kunmap_atomic(kaddr, KM_USER1);
kunmap_atomic(kaddr, KM_USER0);

src_offset += cur;
len -= cur;
Expand Down

0 comments on commit d5c0c8b

Please sign in to comment.