linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ovl: fix IS_APPEND() checks
@ 2017-04-07  9:01 Amir Goldstein
  2017-04-07  9:01 ` [PATCH v2 1/3] vfs: ftruncate check IS_APPEND() on real inode Amir Goldstein
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Amir Goldstein @ 2017-04-07  9:01 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: Al Viro, linux-unionfs, linux-fsdevel

Miklos,

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

I got rid of the wrong patch to convert sb_start_write() to
file_start_write() and moved the open flag checks into
ovl_d_real().

Amir.

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 (3):
  vfs: ftruncate check IS_APPEND() on real inode
  vfs: truncate check IS_APPEND() on real inode
  ovl: check IS_APPEND() on real upper inode

 fs/open.c            | 20 ++++++++++----------
 fs/overlayfs/super.c | 30 +++++++++++++++++++++++++++---
 2 files changed, 37 insertions(+), 13 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-04-08 11:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-07  9:01 [PATCH v2 0/3] ovl: fix IS_APPEND() checks Amir Goldstein
2017-04-07  9:01 ` [PATCH v2 1/3] vfs: ftruncate check IS_APPEND() on real inode Amir Goldstein
2017-04-07 13:10   ` Miklos Szeredi
2017-04-07 16:03     ` Amir Goldstein
2017-04-07  9:01 ` [PATCH v2 2/3] vfs: truncate " Amir Goldstein
2017-04-07 13:21   ` Miklos Szeredi
2017-04-07 16:16     ` Amir Goldstein
2017-04-08 11:50       ` Amir Goldstein
2017-04-07  9:01 ` [PATCH v2 3/3] ovl: check IS_APPEND() on real upper inode Amir Goldstein
2017-04-07 13:33   ` Miklos Szeredi
2017-04-07 16:19     ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).