Skip to content

ovl: corner cases of upper with no xattr support

Amir Goldstein linux-unionfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ovl: fix wrong error handling of ovl_set_impure()fs/overlayfs/dir.c+2 -20 replies
2/3ovl: check on mount time if upper fs supports setting xattrfs/overlayfs/copy_up.c fs/overlayfs/overlayfs.h fs/overlayfs/ovl_entry.h +2 more+43 -110 replies
3/3ovl: handle rename when upper doesn't supports xattrfs/overlayfs/dir.c fs/overlayfs/util.c+24 -70 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/3] ovl: corner cases of upper with no xattr support

Miklos,

Found one more bug in ovl_set_impure() patch besides the noxattr case.

Added the mount time check and piggy backed the noxattr checks for setting opaque and redirect.

Checked that all cases work as expected with and without CONFIG_TMPFS_XATTR.

Amir.

Amir Goldstein (3):
ovl: fix wrong error handling of ovl_set_impure()
ovl: check on mount time if upper fs supports setting xattr
ovl: handle rename when upper doesn't supports xattr

 fs/overlayfs/copy_up.c   | 34 ++++++++++++++++++++++++----------
 fs/overlayfs/dir.c       | 33 +++++++++++++++++++++++++--------
 fs/overlayfs/overlayfs.h |  5 +++++
 fs/overlayfs/ovl_entry.h |  2 +-
 fs/overlayfs/super.c     |  6 ++++++
 fs/overlayfs/util.c      |  9 ++++++++-
 6 files changed, 69 insertions(+), 20 deletions(-)
Signature · 1 line
2.7.4