]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix the locking in nfs4_callback_getattr
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 4 Aug 2010 13:29:52 +0000 (09:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Aug 2010 17:41:39 +0000 (13:41 -0400)
commitced53d525bd00777f78a3d9f92ca2724d70ca06a
tree7d4e3cbf0d17703bb3457f9a2c2cceb930e0f59d
parent6457ed31d2dd0737048d6eafce5e5415a61621e9
NFS: Fix the locking in nfs4_callback_getattr

The delegation is protected by RCU now, so we need to replace the
nfsi->rwsem protection with an rcu protected section.

Reported-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback_proc.c