diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-20 00:12:21 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-08-20 00:22:15 +0200 |
commit | 96c61cbd0f30496bfa57ed80f7131a57aea3e4de (patch) | |
tree | 0b5729ef60777da4622cbad7c881ab6bbe36019c /net/sunrpc | |
parent | Merge branch 'nfsv4_xdr_cleanups-for-2.6.32' into nfs-for-2.6.32 (diff) | |
download | linux-96c61cbd0f30496bfa57ed80f7131a57aea3e4de.tar.xz linux-96c61cbd0f30496bfa57ed80f7131a57aea3e4de.zip |
SUNRPC: Fix a typo in cache_pipefs_files
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | 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 8dd81535e08f..3fdacaf5c708 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", |