Eliminate the use of the d_lock spin lock by using the autofs super block
commit426efd46914b0d8408310e05ca0fd5ae86876a03
authorIan Kent <raven@themaw.net>
Tue, 6 Oct 2009 21:46:41 +0000 (6 23:46 +0200)
committerjames toy <toyj@union.edu>
Tue, 6 Oct 2009 21:46:41 +0000 (6 23:46 +0200)
treea1a069a6e85010c4959ff53b3116d81727847610
parent6f0e9f03cea6c8896ae68550d76b3739a113eb76
Eliminate the use of the d_lock spin lock by using the autofs super block
info spin lock.  This reduces the number of spin locks we use by one and
makes the code for the following patch (to redirect ->d_revalidate() to
->lookup()) a little simpler.

Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Sage Weil <sage@newdream.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Andreas Dilger <adilger@sun.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Yehuda Saheh <yehuda@newdream.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/autofs4/autofs_i.h
fs/autofs4/expire.c
fs/autofs4/root.c