Эх сурвалжийг харах

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>
Trond Myklebust 15 жил өмнө
parent
commit
96c61cbd0f

+ 1 - 1
net/sunrpc/rpc_pipe.c

@@ -887,7 +887,7 @@ static const struct rpc_filelist cache_pipefs_files[3] = {
 	[0] = {
 	[0] = {
 		.name = "channel",
 		.name = "channel",
 		.i_fop = &cache_file_operations_pipefs,
 		.i_fop = &cache_file_operations_pipefs,
-		.mode = S_IFIFO|S_IRUSR|S_IWUSR,
+		.mode = S_IFREG|S_IRUSR|S_IWUSR,
 	},
 	},
 	[1] = {
 	[1] = {
 		.name = "content",
 		.name = "content",