]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: replace inode lock with pipe lock for RPC PipeFS operations
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Mon, 26 Dec 2011 12:43:23 +0000 (15:43 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 31 Jan 2012 23:20:24 +0000 (18:20 -0500)
commit556e0c21682caa4a3343ae8478dbfabbb5157166
treeafc06a17ceb7e7f1f0e119ec21e0102063b6992a
parent143e5ab729bb70431dc18f4819e5b9798dae2cbc
SUNRPC: replace inode lock with pipe lock for RPC PipeFS operations

Currenly, inode i_lock is used to provide concurrent access to SUNPRC PipeFS
pipes. It looks redundant, since now other use of inode is present in most of
these places and thus can be easely replaced, which will allow to remove most
of inode references from PipeFS code. This is a first step towards to removing
PipeFS inode references from kernel code other than PipeFS itself.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/rpc_pipe_fs.h
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/rpc_pipe.c