Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751523AbdIMOFl (ORCPT ); Wed, 13 Sep 2017 10:05:41 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:35389 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751012AbdIMOFg (ORCPT ); Wed, 13 Sep 2017 10:05:36 -0400 X-Google-Smtp-Source: ADKCNb73LcYOUq8jtBUupTm9ETW9/y4DgRtjqC1O0LWqeLCPgrgk3VKGTmXvgxnUV5DQu7MsCU6bIA== Date: Wed, 13 Sep 2017 16:05:28 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: [GIT PULL] overlayfs update for 4.14 Message-ID: <20170913140528.GA19278@veci.piliscsaba.szeredi.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1655 Lines: 48 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This fixes d_ino correctness in readdir, which brings overlayfs on par with normal filesystems regarding inode number semantics, as long as all layers are on the same filesystem. There are also some bug fixes, one in particular (random ioctl's shouldn't be able to modify lower layers) that touches some vfs code, but of course no-op for non-overlay fs. Thanks, Miklos --- Amir Goldstein (2): ovl: constant d_ino across copy up ovl: fix false positive ESTALE on lookup Miklos Szeredi (7): ovl: check snprintf return ovl: fix readdir error value ovl: constant d_ino for non-merge dirs ovl: cleanup d_real for negative vfs: add flags to d_real() ovl: fix relatime for directories ovl: don't allow writing ioctl on lower layer --- Documentation/filesystems/Locking | 2 +- Documentation/filesystems/vfs.txt | 2 +- fs/inode.c | 21 ++- fs/internal.h | 2 + fs/namespace.c | 64 ++++++- fs/open.c | 8 +- fs/overlayfs/dir.c | 11 +- fs/overlayfs/inode.c | 14 +- fs/overlayfs/overlayfs.h | 8 +- fs/overlayfs/readdir.c | 383 ++++++++++++++++++++++++++++++++++---- fs/overlayfs/super.c | 11 +- fs/overlayfs/util.c | 24 ++- fs/xattr.c | 9 +- include/linux/dcache.h | 14 +- include/linux/fs.h | 2 +- 15 files changed, 496 insertions(+), 79 deletions(-)