overlayfs: upperdir and workdir on same mount but different btrfs subvolume

From: Michael GÃhler
Date: Tue Apr 28 2015 - 11:20:19 EST


Hi,

think I found a small issue in overlayfs (kernel 4.0.0).

If I mount an overlay and specify two different subvolumes from the same btrfs
mount point, I don't get the expected:
overlayfs: workdir and upperdir must reside under the same mount

But any write operation on files from lowerdir fails with:
Invalid cross-device link

--
Michael GÃhler
--
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/