Skip to contentSkip to conversation

SUNRPC: remove non-exclusive pipe creation from RPC pipefs

PATCH New Stanislav Kinsbursky 1 participant 1 message Dec 26, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 SUNRPC: remove non-exclusive pipe creation from RPC pipefs

This patch was created in context of clone of git branch:
git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git
and rebased on tag "v3.2-rc7".

v2:
1) rebased on tag "v3.2-rc7".

SUNRPC pipefs non-exclusive pipe creation code looks obsolete. IOW, as I see it, all pipes are creating with unique full path and only once.

---
 include/linux/sunrpc/rpc_pipe_fs.h |    1 -
 net/sunrpc/rpc_pipe.c              |   44 +++++-------------------------------
 2 files changed, 6 insertions(+), 39 deletions(-)
include/linux/sunrpc/rpc_pipe_fs.h +0 -1
index e4ea430..08aae01 100644
@@ -30,7 +30,6 @@ struct rpc_inode {
 	int pipelen;
 	int nreaders;
 	int nwriters;
-	int nkern_readwriters;
 	wait_queue_head_t waitq;
 #define RPC_PIPE_WAIT_FOR_OPEN	1
 	int flags;
net/sunrpc/rpc_pipe.c +6 -38

78 lines not on this page · raw message