aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-08-09 15:14:15 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-08-09 15:14:15 -0400
commitb693ba4a338da15db1db4b5ebaa36e4ab9781c82 (patch)
tree6c16b9ef282af0e958fa216310d4552303b525d5 /include/linux/sunrpc
parent7b2aa037e878c939676675969983284a02958ae3 (diff)
SUNRPC: Constify rpc_pipe_ops...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/rpc_pipe_fs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h
index cea764c2359f..91f5b13389c5 100644
--- a/include/linux/sunrpc/rpc_pipe_fs.h
+++ b/include/linux/sunrpc/rpc_pipe_fs.h
@@ -32,8 +32,8 @@ struct rpc_inode {
32 wait_queue_head_t waitq; 32 wait_queue_head_t waitq;
33#define RPC_PIPE_WAIT_FOR_OPEN 1 33#define RPC_PIPE_WAIT_FOR_OPEN 1
34 int flags; 34 int flags;
35 struct rpc_pipe_ops *ops;
36 struct delayed_work queue_timeout; 35 struct delayed_work queue_timeout;
36 const struct rpc_pipe_ops *ops;
37}; 37};
38 38
39static inline struct rpc_inode * 39static inline struct rpc_inode *
@@ -46,7 +46,8 @@ extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *);
46 46
47extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); 47extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *);
48extern int rpc_rmdir(struct dentry *); 48extern int rpc_rmdir(struct dentry *);
49extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *, struct rpc_pipe_ops *, int flags); 49extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *,
50 const struct rpc_pipe_ops *, int flags);
50extern int rpc_unlink(struct dentry *); 51extern int rpc_unlink(struct dentry *);
51extern struct vfsmount *rpc_get_mount(void); 52extern struct vfsmount *rpc_get_mount(void);
52extern void rpc_put_mount(void); 53extern void rpc_put_mount(void);