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 8dd81535e08fabd1cb1accfe64e0d774220657a0..3fdacaf5c708b21e369fe0611e9cc68f2b9e2fa5 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",