Return-Path: Received: from mail-wr0-f194.google.com ([209.85.128.194]:38678 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750786AbeELJPx (ORCPT ); Sat, 12 May 2018 05:15:53 -0400 From: Amir Goldstein To: Miklos Szeredi Cc: Al Viro , linux-unionfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 0/3] Overlayfs mkdir related fixes Date: Sat, 12 May 2018 12:17:08 +0300 Message-Id: <1526116631-24186-1-git-send-email-amir73il@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Miklos, This series supersedes the patch "ovl: be more prudent when instantiating a new dentry", which is based on overlayfs-rorw. The series is based and tested on top of a merge of overlayfs-rorw and Al's fixes branch and should apply pretty cleanly to fixes branch. BTW, I noticed there is a small conflict between Al's for-next and your dedupe-cleanup branch, so you might want to rebase that. Thanks, Amir. Changes since v1: - Rebase on top of Al's fixes branch - Use d_instantiate_new() helper - Add re-factoring + Al's vfs_mkdir() safely patch Al Viro (1): ovl: make ovl_create_real() cope with vfs_mkdir() safely Amir Goldstein (2): ovl: use d_instantiate_new() to instantiate a new dentry ovl: create helper ovl_create_temp() fs/overlayfs/copy_up.c | 27 ++++---------- fs/overlayfs/dir.c | 96 +++++++++++++++++++++++++++++++++--------------- fs/overlayfs/inode.c | 6 +++ fs/overlayfs/overlayfs.h | 12 +++++- fs/overlayfs/super.c | 2 +- 5 files changed, 90 insertions(+), 53 deletions(-) -- 2.7.4