From: Jeff Layton Date: Tue, 20 Jul 2010 18:10:22 +0000 (-0400) Subject: nfsd: just keep single lockd reference for nfsd X-Git-Tag: v2.6.36-rc1~496^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac77efbe2b4d2a1e571a4f1e5b6e47de72a7d737;p=pandora-kernel.git nfsd: just keep single lockd reference for nfsd Right now, nfsd keeps a lockd reference for each socket that it has open. This is unnecessary and complicates the error handling on startup and shutdown. Change it to just do a lockd_up when starting the first nfsd thread just do a single lockd_down when taking down the last nfsd thread. Because of the strange way the sv_count is handled this requires an extra flag to tell whether the nfsd_serv holds a reference for lockd or not. Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed