• Ian Kent's avatar
    We need to be able to cope with the directory mutex being held during · fc6504f0
    Ian Kent authored
    ->d_revalidate() in some cases, but not all cases, and not necessarily by
    us.  Because we need to release the mutex when we call back to the daemon
    to do perform a mount we must be sure that it is us who holds the mutex so
    we must redirect mount requests to ->lookup() if the mutex is held.
    Signed-off-by: default avatarIan 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    fc6504f0
autofs_i.h 8.11 KB