Overlayfs fixes for exposed whiteouts
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest3 patches 2 repliesIn review
- v11 patch 3 repliesSuperseded
Changes in v6 from the cover letter
- Split ovl_check_empty_and_clear() changes from bug fix patch
- Cache "origin" xattr of non-merge dir in inode flag OVL_WHITEOUTS (OVL_ORIGIN would have been too confusing)
- Replace layer idx with is_upper boolean
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ovl: no direct iteration for dir with origin xattrfs/ fs/ fs/ +1 more | +47 | 0 replies | |
| 2/3 | ovl: simplify ovl_check_empty_and_clear()fs/ fs/ | +22 | 0 replies | |
| 3/3 | ovl: fix rmdir problem on non-merge dir with origin xattrfs/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [PATCH v6 0/3] Overlayfs fixes for exposed whiteouts
Miklos,
Let's call my previous version v5 (Zhangyi's last post was v4).
Changes since v5:
- Split ovl_check_empty_and_clear() changes from bug fix patch
- Cache "origin" xattr of non-merge dir in inode flag OVL_WHITEOUTS (OVL_ORIGIN would have been too confusing)
- Replace layer idx with is_upper boolean
I tested these changes with upstream xfstest overlay/031 by Zhangyi. Pushed to ovl-whiteouts branch [1] and rebased the non-samefs patches on top of it [2].
Thanks,
Amir.
[1] https://github.com/amir73il/linux/commits/ovl-whiteouts
[1] https://github.com/amir73il/linux/commits/overlayfs-devel
Amir Goldstein (3):
ovl: no direct iteration for dir with origin xattr
ovl: simplify ovl_check_empty_and_clear()
ovl: fix rmdir problem on non-merge dir with origin xattr
fs/overlayfs/dir.c | 18 ++++++++++------ fs/overlayfs/inode.c | 5 +++++ fs/overlayfs/overlayfs.h | 4 ++++ fs/overlayfs/readdir.c | 56 ++++++++++++++++++++++++++++++++++++++---------- fs/overlayfs/util.c | 13 +++++++++++ 5 files changed, 79 insertions(+), 17 deletions(-)
Signature · 1 line
2.7.4