Jelajahi Sumber

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 tahun lalu
induk
melakukan
96c61cbd0f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      net/sunrpc/rpc_pipe.c

+ 1 - 1
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",