Skip to content

overlayfs: Do not check metacopy in ovl_get_inode()

Vivek Goyal linux-unionfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3overlayfs: Simplify setting of origin for index lookupfs/overlayfs/namei.c+17 -120 replies
2/3overlayfs: ovl_lookup(): Use only uppermetacopy statefs/overlayfs/namei.c+29 -291 reply
3/3overlayfs: Initialize OVL_UPPERDATA in ovl_lookup()fs/overlayfs/dir.c fs/overlayfs/inode.c fs/overlayfs/namei.c+5 -100 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAmir Goldstein
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] overlayfs: Do not check metacopy in ovl_get_inode()

Hi,

This is V2 of the patches. Took care of few suggestions from Amir.

This series tries to implement Amir's suggestion of initializing OVL_UPPERDATA in callers of ovl_get_inode() and move checking of metacopy xattr out of ovl_get_inode().

It also has to patches to cleanup metacopy logic a bit and make it little more readable and understandable in ovl_lookup().

yangerkun, can you please make sure if this patch series fixes the xfstest issue you were facing once in a while.

Vivek Goyal (3):
overlayfs: Simplify setting of origin for index lookup
overlayfs: ovl_lookup(): Use only uppermetacopy state
overlayfs: Initialize OVL_UPPERDATA in ovl_lookup()

 fs/overlayfs/dir.c   |  2 +
 fs/overlayfs/inode.c | 11 +-----
 fs/overlayfs/namei.c | 89 ++++++++++++++++++++++++--------------------
 3 files changed, 51 insertions(+), 51 deletions(-)
Signature · 1 line
2.25.4