SUNRPC: Fix a typo in cache_pipefs_files
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Aug 2009 22:12:21 +0000 (18:12 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Aug 2009 22:22:15 +0000 (18:22 -0400)
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

index 8dd8153..3fdacaf 100644 (file)
@@ -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",