mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
fdc17abbc4
commit
c1225158a8
7 changed files with 26 additions and 71 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue