summaryrefslogtreecommitdiffstats
path: root/fs/jbd2/transaction.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 16:14:31 +0100
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 14:48:23 +0100
commit303a8f2afc7ba01083b50b7fceac2a412f28da4e (patch)
tree6c38724e820d2458fb8480b10e0a78ba52d11075 /fs/jbd2/transaction.c
parentjbd: remove the second argument of k[un]map_atomic() (diff)
downloadlinux-303a8f2afc7ba01083b50b7fceac2a412f28da4e.tar.xz
linux-303a8f2afc7ba01083b50b7fceac2a412f28da4e.zip
jbd2: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/jbd2/transaction.c')
-rw-r--r--fs/jbd2/transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 35ae096bed5d..e5aba56e1fd5 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -783,12 +783,12 @@ 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);
/* Fire data frozen trigger just before we copy the data */
jbd2_buffer_frozen_trigger(jh, source + offset,
jh->b_triggers);
memcpy(jh->b_frozen_data, source+offset, jh2bh(jh)->b_size);
- kunmap_atomic(source, KM_USER0);
+ kunmap_atomic(source);
/*
* Now that the frozen data is saved off, we need to store