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)
commit761fe93cdfa29071879d882c92e966ae692c0048
tree7d4e3cbf0d17703bb3457f9a2c2cceb930e0f59d
parent0d8a374673c9bc62bc78a2d8fe64553a51542cb4
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