summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/stree.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 16:14:35 +0100
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 14:48:25 +0100
commit883da600b00eb6fa9f8db5687759732b3c6dd357 (patch)
treeed044e2192aa10add56cb4b0c2ce7007f5bba8ce /fs/reiserfs/stree.c
parentocfs2: remove the second argument of k[un]map_atomic() (diff)
downloadlinux-883da600b00eb6fa9f8db5687759732b3c6dd357.tar.xz
linux-883da600b00eb6fa9f8db5687759732b3c6dd357.zip
reiserfs: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/reiserfs/stree.c')
-rw-r--r--fs/reiserfs/stree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/stree.c b/fs/reiserfs/stree.c
index 313d39d639eb..77df82f9e70a 100644
--- a/fs/reiserfs/stree.c
+++ b/fs/reiserfs/stree.c
@@ -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);