From: Trond Myklebust Date: Wed, 19 Aug 2009 22:12:21 +0000 (-0400) Subject: SUNRPC: Fix a typo in cache_pipefs_files X-Git-Tag: upstream/snapshot3+hdmi~17380^2~48^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96c61cbd0f30496bfa57ed80f7131a57aea3e4de;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 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",