Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291819
b: refs/heads/master
c: 883da60
h: refs/heads/master
i:
  291817: 59417ee
  291815: a6ee1bf
v: v3
  • Loading branch information
Cong Wang authored and Cong Wang committed Mar 20, 2012
1 parent d41a6cc commit 5e99824
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: c4bc8dcbbe7a7876d76e3f3e129a2ccec46d7cdb
refs/heads/master: 883da600b00eb6fa9f8db5687759732b3c6dd357
4 changes: 2 additions & 2 deletions trunk/fs/reiserfs/stree.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,12 +1284,12 @@ int reiserfs_delete_item(struct reiserfs_transaction_handle *th,
** -clm
*/

data = kmap_atomic(un_bh->b_page, KM_USER0);
data = kmap_atomic(un_bh->b_page);
off = ((le_ih_k_offset(&s_ih) - 1) & (PAGE_CACHE_SIZE - 1));
memcpy(data + off,
B_I_PITEM(PATH_PLAST_BUFFER(path), &s_ih),
ret_value);
kunmap_atomic(data, KM_USER0);
kunmap_atomic(data);
}
/* Perform balancing after all resources have been collected at once. */
do_balance(&s_del_balance, NULL, NULL, M_DELETE);
Expand Down
4 changes: 2 additions & 2 deletions trunk/fs/reiserfs/tail_conversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ int direct2indirect(struct reiserfs_transaction_handle *th, struct inode *inode,
if (up_to_date_bh) {
unsigned pgoff =
(tail_offset + total_tail - 1) & (PAGE_CACHE_SIZE - 1);
char *kaddr = kmap_atomic(up_to_date_bh->b_page, KM_USER0);
char *kaddr = kmap_atomic(up_to_date_bh->b_page);
memset(kaddr + pgoff, 0, blk_size - total_tail);
kunmap_atomic(kaddr, KM_USER0);
kunmap_atomic(kaddr);
}

REISERFS_I(inode)->i_first_direct_byte = U32_MAX;
Expand Down

0 comments on commit 5e99824

Please sign in to comment.