diff options
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index fd2423991c2d..04040476082e 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -120,7 +120,7 @@ EXPORT_SYMBOL_GPL(rpc_pipe_generic_upcall); | |||
120 | 120 | ||
121 | /** | 121 | /** |
122 | * rpc_queue_upcall - queue an upcall message to userspace | 122 | * rpc_queue_upcall - queue an upcall message to userspace |
123 | * @inode: inode of upcall pipe on which to queue given message | 123 | * @pipe: upcall pipe on which to queue given message |
124 | * @msg: message to queue | 124 | * @msg: message to queue |
125 | * | 125 | * |
126 | * Call with an @inode created by rpc_mkpipe() to queue an upcall. | 126 | * Call with an @inode created by rpc_mkpipe() to queue an upcall. |
@@ -819,9 +819,7 @@ static int rpc_rmdir_depopulate(struct dentry *dentry, | |||
819 | * @parent: dentry of directory to create new "pipe" in | 819 | * @parent: dentry of directory to create new "pipe" in |
820 | * @name: name of pipe | 820 | * @name: name of pipe |
821 | * @private: private data to associate with the pipe, for the caller's use | 821 | * @private: private data to associate with the pipe, for the caller's use |
822 | * @ops: operations defining the behavior of the pipe: upcall, downcall, | 822 | * @pipe: &rpc_pipe containing input parameters |
823 | * release_pipe, open_pipe, and destroy_msg. | ||
824 | * @flags: rpc_pipe flags | ||
825 | * | 823 | * |
826 | * Data is made available for userspace to read by calls to | 824 | * Data is made available for userspace to read by calls to |
827 | * rpc_queue_upcall(). The actual reads will result in calls to | 825 | * rpc_queue_upcall(). The actual reads will result in calls to |
@@ -943,7 +941,7 @@ struct dentry *rpc_create_client_dir(struct dentry *dentry, | |||
943 | 941 | ||
944 | /** | 942 | /** |
945 | * rpc_remove_client_dir - Remove a directory created with rpc_create_client_dir() | 943 | * rpc_remove_client_dir - Remove a directory created with rpc_create_client_dir() |
946 | * @clnt: rpc client | 944 | * @dentry: dentry for the pipe |
947 | */ | 945 | */ |
948 | int rpc_remove_client_dir(struct dentry *dentry) | 946 | int rpc_remove_client_dir(struct dentry *dentry) |
949 | { | 947 | { |
@@ -1115,7 +1113,7 @@ rpc_fill_super(struct super_block *sb, void *data, int silent) | |||
1115 | sb->s_op = &s_ops; | 1113 | sb->s_op = &s_ops; |
1116 | sb->s_time_gran = 1; | 1114 | sb->s_time_gran = 1; |
1117 | 1115 | ||
1118 | inode = rpc_get_inode(sb, S_IFDIR | 0755); | 1116 | inode = rpc_get_inode(sb, S_IFDIR | S_IRUGO | S_IXUGO); |
1119 | sb->s_root = root = d_make_root(inode); | 1117 | sb->s_root = root = d_make_root(inode); |
1120 | if (!root) | 1118 | if (!root) |
1121 | return -ENOMEM; | 1119 | return -ENOMEM; |