diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-10 17:45:58 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-10 17:45:58 -0400 |
commit | f884dcaead5f17bf586ac5fe6a3ad07b5203616a (patch) | |
tree | 2406444df167f1d67b38733b544f2e2a96c778c7 /include/linux/sunrpc/rpc_pipe_fs.h | |
parent | 976a6f921cad26651d25e73826c05c7a023f5fa4 (diff) | |
parent | 8854e82d9accc80f43c0bc3ff06b5979ac858185 (diff) |
Merge branch 'sunrpc_cache-for-2.6.32' into nfs-for-2.6.32
Diffstat (limited to 'include/linux/sunrpc/rpc_pipe_fs.h')
-rw-r--r-- | include/linux/sunrpc/rpc_pipe_fs.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h index cea764c2359f..a92571a34556 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 * |
@@ -44,9 +44,19 @@ RPC_I(struct inode *inode) | |||
44 | 44 | ||
45 | extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); | 45 | extern int rpc_queue_upcall(struct inode *, struct rpc_pipe_msg *); |
46 | 46 | ||
47 | extern struct dentry *rpc_mkdir(char *, struct rpc_clnt *); | 47 | struct rpc_clnt; |
48 | extern int rpc_rmdir(struct dentry *); | 48 | extern struct dentry *rpc_create_client_dir(struct dentry *, struct qstr *, struct rpc_clnt *); |
49 | extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *, struct rpc_pipe_ops *, int flags); | 49 | extern int rpc_remove_client_dir(struct dentry *); |
50 | |||
51 | struct cache_detail; | ||
52 | extern struct dentry *rpc_create_cache_dir(struct dentry *, | ||
53 | struct qstr *, | ||
54 | mode_t umode, | ||
55 | struct cache_detail *); | ||
56 | extern void rpc_remove_cache_dir(struct dentry *); | ||
57 | |||
58 | extern struct dentry *rpc_mkpipe(struct dentry *, const char *, void *, | ||
59 | const struct rpc_pipe_ops *, int flags); | ||
50 | extern int rpc_unlink(struct dentry *); | 60 | extern int rpc_unlink(struct dentry *); |
51 | extern struct vfsmount *rpc_get_mount(void); | 61 | extern struct vfsmount *rpc_get_mount(void); |
52 | extern void rpc_put_mount(void); | 62 | extern void rpc_put_mount(void); |