]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFSv4: Remove nfs_client->cl_sem
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 20:21:45 +0000 (15:21 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 20:21:45 +0000 (15:21 -0500)
commit95d35cb4c473c754824967c0b069bbeb7efa4847
treebd46a5b0e4d35f9256cf44ca2706493fc3dd2819
parent19e03c570e6099ffaf24e5628d4fe1a8acbe820d
NFSv4: Remove nfs_client->cl_sem

Now that we're using the flags to indicate state that needs to be
recovered, as well as having implemented proper refcounting and spinlocking
on the state and open_owners, we can get rid of nfs_client->cl_sem. The
only remaining case that was dubious was the file locking, and that case is
now covered by the nfsi->rwsem.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/delegation.c
fs/nfs/nfs4proc.c
fs/nfs/nfs4renewd.c
fs/nfs/nfs4state.c
include/linux/nfs_fs_sb.h