diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 23:14:30 +0800 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 21:48:23 +0800 |
commit | d93492855ff307ce9d699e36d966af3420b80bb3 (patch) | |
tree | 796d1ab910796675960c780d128477cf97b9a4bb /fs/gfs2/quota.c | |
parent | 2408f6ef6bf58620f8330b37181d2bdca2e7c7c5 (diff) | |
download | talos-op-linux-d93492855ff307ce9d699e36d966af3420b80bb3.tar.gz talos-op-linux-d93492855ff307ce9d699e36d966af3420b80bb3.zip |
gfs2: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'fs/gfs2/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index a45b21b03915..c0f8904f0860 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c @@ -720,12 +720,12 @@ get_a_page: gfs2_trans_add_bh(ip->i_gl, bh, 0); - kaddr = kmap_atomic(page, KM_USER0); + kaddr = kmap_atomic(page); if (offset + sizeof(struct gfs2_quota) > PAGE_CACHE_SIZE) nbytes = PAGE_CACHE_SIZE - offset; memcpy(kaddr + offset, ptr, nbytes); flush_dcache_page(page); - kunmap_atomic(kaddr, KM_USER0); + kunmap_atomic(kaddr); unlock_page(page); page_cache_release(page); |