[PATCH 29/32] SUNRPC: Fix a typo in cache_pipefs_files

Trond Myklebust
2009-08-19T23:40:58Z

We want the channel to be a regular file, so that we don't need to supply
rpc_pipe_ops.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
---
net/sunrpc/rpc_pipe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index 8dd8153..3fdacaf 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -887,7 +887,7 @@ static const struct rpc_filelist cache_pipefs_files[3] = {
[0] = {
.name = "channel",
.i_fop = &cache_file_operations_pipefs,
- .mode = S_IFIFO|S_IRUSR|S_IWUSR,
+ .mode = S_IFREG|S_IRUSR|S_IWUSR,
},
[1] = {
.name = "content",
--
1.6.0.4