From: Trond Myklebust Date: Wed, 19 Aug 2009 22:12:21 +0000 (-0400) Subject: SUNRPC: Fix a typo in cache_pipefs_files X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=96c61cbd0f30496bfa57ed80f7131a57aea3e4de;p=linux-beck.git 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 --- 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",