diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-09 15:14:15 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-09 15:14:15 -0400 |
commit | b693ba4a338da15db1db4b5ebaa36e4ab9781c82 (patch) | |
tree | 6c16b9ef282af0e958fa216310d4552303b525d5 /include/linux | |
parent | 7b2aa037e878c939676675969983284a02958ae3 (diff) |
SUNRPC: Constify rpc_pipe_ops...
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/sunrpc/rpc_pipe_fs.h | 5 |
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 | ||
39 | static inline struct rpc_inode * | 39 | static inline struct rpc_inode * |
@@ -46,7 +46,8 @@ extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); | |||
46 | 46 | ||
47 | extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); | 47 | extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); |
48 | extern int rpc_rmdir(struct dentry *); | 48 | extern int rpc_rmdir(struct dentry *); |
49 | extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *, struct rpc_pipe_ops *, int flags); | 49 | extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *, |
50 | const struct rpc_pipe_ops *, int flags); | ||
50 | extern int rpc_unlink(struct dentry *); | 51 | extern int rpc_unlink(struct dentry *); |
51 | extern struct vfsmount *rpc_get_mount(void); | 52 | extern struct vfsmount *rpc_get_mount(void); |
52 | extern void rpc_put_mount(void); | 53 | extern void rpc_put_mount(void); |