diff options
author | Peng Tao <bergwolf@gmail.com> | 2011-09-22 21:50:10 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-18 09:08:12 -0700 |
commit | c1225158a8dad9e9d5eee8a17dbbd9c7cda05ab9 (patch) | |
tree | ed543930670a47c3cb911d5580941584509b73f2 /include/linux/sunrpc | |
parent | fdc17abbc4b6094b34ee8ff5d91eaba8637594a2 (diff) | |
download | linux-c1225158a8dad9e9d5eee8a17dbbd9c7cda05ab9.tar.gz linux-c1225158a8dad9e9d5eee8a17dbbd9c7cda05ab9.tar.bz2 linux-c1225158a8dad9e9d5eee8a17dbbd9c7cda05ab9.zip |
SUNRPC/NFS: make rpc pipe upcall generic
The same function is used by idmap, gss and blocklayout code. Make it
generic.
Signed-off-by: Peng Tao <peng_tao@emc.com>
Signed-off-by: Jim Rees <rees@umich.edu>
Cc: stable@kernel.org [3.0]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/rpc_pipe_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h index cf14db975da0..e4ea43058d8f 100644 --- a/include/linux/sunrpc/rpc_pipe_fs.h +++ b/include/linux/sunrpc/rpc_pipe_fs.h @@ -44,6 +44,8 @@ RPC_I(struct inode *inode) return container_of(inode, struct rpc_inode, vfs_inode); } +extern ssize_t rpc_pipe_generic_upcall(struct file *, struct rpc_pipe_msg *, + char __user *, size_t); extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); struct rpc_clnt; |