diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 23:14:35 +0800 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 21:48:25 +0800 |
commit | 883da600b00eb6fa9f8db5687759732b3c6dd357 (patch) | |
tree | ed044e2192aa10add56cb4b0c2ce7007f5bba8ce /fs/reiserfs/tail_conversion.c | |
parent | c4bc8dcbbe7a7876d76e3f3e129a2ccec46d7cdb (diff) | |
download | linux-3.10-883da600b00eb6fa9f8db5687759732b3c6dd357.tar.gz linux-3.10-883da600b00eb6fa9f8db5687759732b3c6dd357.tar.bz2 linux-3.10-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/tail_conversion.c')
-rw-r--r-- | fs/reiserfs/tail_conversion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/reiserfs/tail_conversion.c b/fs/reiserfs/tail_conversion.c index d7f6e51bef2..8f546bd473b 100644 --- a/fs/reiserfs/tail_conversion.c +++ b/fs/reiserfs/tail_conversion.c @@ -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; |