[PATCH 0/2] overlayfs: module and statfs fixes

From: Andy Whitcroft
Date: Fri Oct 01 2010 - 13:48:35 EST


Just been playing with overlayfs and hit a couple of issues. First I
was not able to build this filesystem as a module. Second statfs support
was missing. Following this email are a couple of patches which I used to
fix these up. I am not 100% sure the statfs approach is quite right, but
its not clear the semantics can ever be correct in the face of an overlay.

With these applied I was able to drop an overlay over the top of a very
out of date Ubuntu chroot and upgrade it to the latest and greatest;
all without incident.

Nice.

-apw

Andy Whitcroft (2):
overlayfs: export security_inode_permission to allow overlayfs to be
modular
overlayfs: add statfs support

fs/overlayfs/overlayfs.c | 20 ++++++++++++++++++++
security/security.c | 1 +
2 files changed, 21 insertions(+), 0 deletions(-)

--
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/