Skip to content

ovl: fix IS_APPEND() checks

Amir Goldstein linux-unionfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v23 patches 7 repliesSuperseded
  3. v14 patches 1 replySuperseded

Changes in v3 from the cover letter

- address comments by Miklos
- discard unneeded patch to vfs_truncate()

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfs: ftruncate check IS_APPEND() on real upper inodefs/open.c+2 -10 replies
2/2ovl: check IS_APPEND() on real upper inodefs/overlayfs/super.c+25 -30 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/2] ovl: fix IS_APPEND() checks

Miklos,

This series fixes the append-only violations found by the new xfstest overlay/030.

I addressed your comments on v2 and removed the patch to vfs_truncate() because d_real() already takes cares of IS_APPEND().

Amir.

v3:
- address comments by Miklos
- discard unneeded patch to vfs_truncate()

v2:
- move open check to ovl_d_real()
- discard wrong patch to file_start_write() in ftruncate()

v1:
- fix checks in [f]truncate and vfs_open()

Amir Goldstein (2):
vfs: ftruncate check IS_APPEND() on real upper inode
ovl: check IS_APPEND() on real upper inode

 fs/open.c            |  3 ++-
 fs/overlayfs/super.c | 28 +++++++++++++++++++++++++---
 2 files changed, 27 insertions(+), 4 deletions(-)
Signature · 1 line
2.7.4