diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 16:14:31 +0100 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 14:48:23 +0100 |
commit | 8fb53c46d9c9322fc5a8e53038ceb0d243059c25 (patch) | |
tree | 7fc80c0f840fd90dd3347de226935a7d0d7c950a /fs/jbd/transaction.c | |
parent | gfs2: remove the second argument of k[un]map_atomic() (diff) | |
download | linux-8fb53c46d9c9322fc5a8e53038ceb0d243059c25.tar.xz linux-8fb53c46d9c9322fc5a8e53038ceb0d243059c25.zip |
jbd: remove the second argument of k[un]map_atomic()
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/jbd/transaction.c')
-rw-r--r-- | fs/jbd/transaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index 7fce94b04bc3..b2a7e5244e39 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c @@ -718,9 +718,9 @@ done: "Possible IO failure.\n"); page = jh2bh(jh)->b_page; offset = offset_in_page(jh2bh(jh)->b_data); - source = kmap_atomic(page, KM_USER0); + source = kmap_atomic(page); memcpy(jh->b_frozen_data, source+offset, jh2bh(jh)->b_size); - kunmap_atomic(source, KM_USER0); + kunmap_atomic(source); } jbd_unlock_bh_state(bh); |