From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: References: <20180412150826.20988-1-mszeredi@redhat.com> <20180412150826.20988-17-mszeredi@redhat.com> From: Miklos Szeredi Date: Mon, 23 Apr 2018 12:28:43 +0200 Message-ID: Subject: Re: [RFC PATCH 16/35] ovl: readd lsattr/chattr support To: Amir Goldstein Cc: Miklos Szeredi , overlayfs , linux-fsdevel , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: On Mon, Apr 23, 2018 at 12:21 PM, Miklos Szeredi wrote: > We could fix it to use file_inode()->i_sb instead of > f_path.dentry->d_sb after reverting the overlay specific hack, and > that would fix the freeze bypass bug and would be correct for all > filesystems. But I wonder how many such issues we have where > discrepancy between f_path.dentry and file_inode() matters. OTOH, any such issues should already have surfaced. Just need to be careful when reverting VFS patches that they don't regress in the face of f_path containing the overlay path. So we are probably better to keep using overlay path in real file universally, just to keep the code simpler. Thanks, Miklos