Re: [autofs] [PATCH 04/38] autofs4: Save autofs trigger's vfsmountin super block info

From: Ian Kent
Date: Tue Jun 22 2010 - 21:23:57 EST


On Tue, 2010-06-22 at 14:49 +0900, J. R. Okajima wrote:
>
> Or how about iterate_mounts() instead of loop over dentries?
> For example (just a example),

I may be missing something about this, but why is it safe to use
iterate_mounts(), since it doesn't take the vfsmount_lock when
traversing the list of mounts?

Ian


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/