NFS: Clean up nfs4_find_state_owners_locked()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 6 Dec 2011 21:13:39 +0000 (16:13 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 5 Jan 2012 15:42:42 +0000 (10:42 -0500)
commit414adf14cd3b52e411f79d941a15d0fd4af427fc
treeac70f3249a5985d1a89d56955266b11c733c61eb
parentbf118a342f10dafe44b14451a1392c3254629a1f
NFS: Clean up nfs4_find_state_owners_locked()

There's no longer a need to check the so_server field in the state
owner, because nowadays the RB tree we search for state owners
contains owners for that only server.

Make nfs4_find_state_owners_locked() use the same tree searching logic
as nfs4_insert_state_owner_locked().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c