diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 23:14:40 +0800 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 21:48:28 +0800 |
commit | b85417860172ff693dc115d7999805fc240cec1c (patch) | |
tree | e7f1c8ac18958e7bcb9182caa8639104384e44f9 /net/sunrpc/socklib.c | |
parent | 6114eab535ab49239e0a6ce08eb9243664aef993 (diff) | |
download | linux-b85417860172ff693dc115d7999805fc240cec1c.tar.gz linux-b85417860172ff693dc115d7999805fc240cec1c.tar.bz2 linux-b85417860172ff693dc115d7999805fc240cec1c.zip |
sunrpc: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'net/sunrpc/socklib.c')
-rw-r--r-- | net/sunrpc/socklib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/socklib.c b/net/sunrpc/socklib.c index 145e6784f508..0a648c502fc3 100644 --- a/net/sunrpc/socklib.c +++ b/net/sunrpc/socklib.c @@ -114,7 +114,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct } len = PAGE_CACHE_SIZE; - kaddr = kmap_atomic(*ppage, KM_SKB_SUNRPC_DATA); + kaddr = kmap_atomic(*ppage); if (base) { len -= base; if (pglen < len) @@ -127,7 +127,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct ret = copy_actor(desc, kaddr, len); } flush_dcache_page(*ppage); - kunmap_atomic(kaddr, KM_SKB_SUNRPC_DATA); + kunmap_atomic(kaddr); copied += ret; if (ret != len || !desc->count) goto out; |