Skip to content

overlayfs: module and statfs fixes

Andy Whitcroft linux-fsdevel lkml 1 version Applied

Status from this message: Applied both patches and pused to the overlayfs.v3 branch. Also

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2overlayfs: export security_inode_permission to allow overlayfs to be modularsecurity/security.c+1 -00 replies
2/2overlayfs: add statfs supportfs/overlayfs/overlayfs.c+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)