From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 27 Mar 2016 14:16:01 -0400 From: Theodore Ts'o To: Sedat Dilek Cc: Ext4 Developers List , David Howells , Al Viro , Linux Filesystem Development List , jaegeuk@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH 5/5] ext4 crypto: use dget_parent() in ext4_d_revalidate() Message-ID: <20160327181601.GG31129@thunk.org> References: <1459026600-9232-1-git-send-email-tytso@mit.edu> <1459026600-9232-6-git-send-email-tytso@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, Mar 27, 2016 at 10:02:46AM +0200, Sedat Dilek wrote: > On Sat, Mar 26, 2016 at 10:10 PM, Theodore Ts'o wrote: > > This avoids potential problems caused by a race where the inode gets > > renamed out from its parent directory and the parent directory is > > deleted while ext4_d_revalidate() is running. > > > > Fixes: 28b4c263961c > > Full Fixes-tag... > > Fixes: 28b4c263961c ("ext4 crypto: revalidate dentry after adding or > removing the key") > > > Reported-by: Al Viro > > Signed-off-by: Theodore Ts'o > > Cc: stable@vger.kernel.org > > This for Linux v4.6(-rc1+) ? Probably v4.6-rc2 at this point, since I'm still waiting for acks from folks. - Ted