Skip to content

ovl: Bunch of ovl_lookup() path fixes

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 Latest4 patches 4 repliesIn review
  2. v1 RFC3 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ovl: Set d->last properly during lookupfs/overlayfs/namei.c+6 -21 reply
2/4ovl: Do not check for redirect if this is last layerfs/overlayfs/namei.c+4 -10 replies
3/4ovl: set d->is_dir and d->opaque for last path elementfs/overlayfs/namei.c+6 -20 replies
4/4ovl: fix lookup with middle layer opaque dir and absolute path redirectsfs/overlayfs/namei.c+8 -03 replies
4/4ovl: fix lookup with middle layer opaque dir and absolute path redirectsfs/overlayfs/namei.c+9 -00 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

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

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/4] ovl: Bunch of ovl_lookup() path fixes

Hi,

Here are bunch of ovl_lookup() related fixes. These are cleanup also and make some semantics more clear. Which should be useful when non-dir dentries will have redirects. (metacopy patches).

Thanks
Vivek

Amir Goldstein (1):
ovl: fix lookup with middle layer opaque dir and absolute path
redirects

Vivek Goyal (3):
ovl: Set d->last properly during lookup
ovl: Do not check for redirect if this is last layer
ovl: set d->is_dir and d->opaque for last path element

 fs/overlayfs/namei.c | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)
Signature · 1 line
2.13.6