Re: Unionmount and overlayfs testsuite

From: Miklos Szeredi
Date: Tue Jun 03 2014 - 05:12:15 EST


On Tue, Jun 3, 2014 at 11:00 AM, David Howells <dhowells@xxxxxxxxxx> wrote:
> My suspicion is that overlayfs is doing stuff to the lower layer whilst
> holding a lock on the upper layer or vice versa.

No. It's holding the overlayfs i_mutex and then getting either the
upper *or* the lower i_mutex, but never both. So it's a simple and
unproblematic ordering.

Thanks,
Miklos
--
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/