linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] overlayfs update for 4.9
@ 2016-10-13 14:37 Miklos Szeredi
  2016-10-13 14:51 ` Miklos Szeredi
  2016-10-14  4:03 ` Linus Torvalds
  0 siblings, 2 replies; 11+ messages in thread
From: Miklos Szeredi @ 2016-10-13 14:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Al Viro, linux-kernel, linux-fsdevel, linux-unionfs

Hi Linus,

Please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus

I tried to submit this though Al because of the VFS changes, but failed
unfortunately.  The VFS changes are small and should only affect overlayfs, so
here it is.

This update contains the following changes:

 - a couple of fixes in the "use mounter's permission to access underlying
   layers" area;

 - mnt_want_write_file() should freeze protect the underlying layer, except in
   the case of i_ops, where the callee is expected to do that

 - use "clone_file_range" to copy up if possible, resulting in a substantial
   speedup;

 - misc fixes and cleanups.

Thanks,
Miklos

---
Amir Goldstein (3):
      vfs: allow vfs_clone_file_range() across mount points
      vfs: call vfs_clone_file_range() under mnt_want_write()
      ovl: use vfs_clone_file_range() for copy up if possible

Miklos Szeredi (7):
      ovl: copy_up_xattr(): use strnlen
      ovl: lookup: do getxattr with mounter's permission
      vfs: mnt_want_write_file() should freeze protect underlying sb
      ovl: explain error values when removing acl from workdir
      ovl: use generic_readlink
      vfs: add vfs_get_link() helper
      ovl: use vfs_get_link()

Richard Weinberger (1):
      ovl: Fix info leak in ovl_lookup_temp()

Vivek Goyal (1):
      ovl: during copy up, switch to mounter's creds early

---
 fs/ioctl.c             |  5 +++-
 fs/namei.c             | 25 +++++++++++++++++
 fs/namespace.c         |  7 +++--
 fs/nfsd/vfs.c          |  3 +-
 fs/open.c              | 15 +++++-----
 fs/overlayfs/copy_up.c | 75 +++++++++++++++++++-------------------------------
 fs/overlayfs/dir.c     |  5 +++-
 fs/overlayfs/inode.c   | 44 +++++++----------------------
 fs/overlayfs/super.c   | 33 ++++++++++++++--------
 fs/read_write.c        | 13 ++++-----
 fs/xattr.c             | 13 ++++++---
 include/linux/fs.h     | 14 ++++++++++
 12 files changed, 135 insertions(+), 117 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [GIT PULL] overlayfs update for 4.9
@ 2016-10-05 19:52 Miklos Szeredi
  2016-10-05 20:06 ` Al Viro
  2016-10-05 23:49 ` Al Viro
  0 siblings, 2 replies; 11+ messages in thread
From: Miklos Szeredi @ 2016-10-05 19:52 UTC (permalink / raw)
  To: Al Viro; +Cc: linux-kernel, linux-fsdevel, linux-unionfs

Hi Al,

Please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-viro

This has an assortment of fixes and cleanups for overlayfs.

It also touches the VFS:

 - add the vfs_get_link() helper for calling i_op->get_link();
 - fix mnt_want_write_file() to freeze protect the underlying sb instead of
   overlay sb;
 - allow vfs_clone_file_range() to be called by overlayfs.

None of the above should have any effect on filesystems other than overlayfs.

Thanks,
Miklos

---
Amir Goldstein (3):
      vfs: allow vfs_clone_file_range() across mount points
      vfs: call vfs_clone_file_range() under mnt_want_write()
      ovl: use vfs_clone_file_range() for copy up if possible

Miklos Szeredi (8):
      ovl: copy_up_xattr(): use strnlen
      ovl: lookup: do getxattr with mounter's permission
      vfs: mnt_want_write_file() should freeze protect underlying sb
      ovl: make directory ino/dev numbers stable
      ovl: explain error values when removing acl from workdir
      ovl: use generic_readlink
      vfs: add vfs_get_link() helper
      ovl: use vfs_get_link()

Richard Weinberger (1):
      ovl: Fix info leak in ovl_lookup_temp()

Vivek Goyal (1):
      ovl: during copy up, switch to mounter's creds early

---
 fs/ioctl.c             |  5 +++-
 fs/namei.c             | 25 +++++++++++++++++
 fs/namespace.c         |  7 +++--
 fs/nfsd/vfs.c          |  3 +-
 fs/open.c              | 15 +++++-----
 fs/overlayfs/copy_up.c | 75 +++++++++++++++++++-------------------------------
 fs/overlayfs/dir.c     | 32 +++++++++++++++++++--
 fs/overlayfs/inode.c   | 44 +++++++----------------------
 fs/overlayfs/super.c   | 33 ++++++++++++++--------
 fs/read_write.c        | 13 ++++-----
 fs/xattr.c             | 13 ++++++---
 include/linux/fs.h     | 14 ++++++++++
 12 files changed, 160 insertions(+), 119 deletions(-)

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

end of thread, other threads:[~2016-10-14 10:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-13 14:37 [GIT PULL] overlayfs update for 4.9 Miklos Szeredi
2016-10-13 14:51 ` Miklos Szeredi
2016-10-14  4:03 ` Linus Torvalds
2016-10-14  6:19   ` Sedat Dilek
2016-10-14  6:48   ` Amir Goldstein
2016-10-14 10:10     ` Amir Goldstein
  -- strict thread matches above, loose matches on Subject: below --
2016-10-05 19:52 Miklos Szeredi
2016-10-05 20:06 ` Al Viro
2016-10-05 23:49 ` Al Viro
2016-10-06  8:01   ` Miklos Szeredi
2016-10-11 19:49     ` Miklos Szeredi

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).