[PATCH] PATCH 2/16: NFSD: BKL Removal: Lock export table
authorNeil Brown <neilb@cse.unsw.edu.au>
Tue, 26 Feb 2002 06:22:50 +0000 (22:22 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Tue, 26 Feb 2002 06:22:50 +0000 (22:22 -0800)
commit8244559fdb8a3a6aa407b2509a259b6f3e30d74b
tree0a2e9edeaecb40b7af8cf9ff828f7e67e51c4486
parentdd63f4c1098fc3d69ab16cc5c3efe9b56c36bd9d
[PATCH] PATCH 2/16: NFSD: BKL Removal: Lock export table

Change export table lock to (SMP safe) rwsemaphore

As a first step to removing the BKL from nfsd, this patch
changes the lock used for the export table to be a rwsem semaphore.
Previously it had the same functionality but depended on the BKL
for correctness.

As there is no "down_write_interruptible" this patch removes the
posibility of interrupting the write_lock request, but this should
never be needed anyway.
fs/nfsd/export.c
fs/nfsd/lockd.c
fs/nfsd/nfsctl.c
fs/nfsd/nfssvc.c
include/linux/nfsd/export.h