From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH v4 1/3] fs: hoist EFSCORRUPTED definition into uapi header Date: Fri, 18 Jan 2019 17:23:42 +0100 Message-ID: References: <20190118161440.220134-1-jannh@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20190118161440.220134-1-jannh@google.com> Sender: linux-kernel-owner@vger.kernel.org To: Jann Horn Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Alexander Viro , Linux FS-devel Mailing List , "Eric W. Biederman" , Theodore Ts'o , Andreas Dilger , alpha , Linux Kernel Mailing List , Dave Chinner , Pavel Machek , linux-arch , Linux API List-Id: linux-api@vger.kernel.org On Fri, Jan 18, 2019 at 5:15 PM Jann Horn wrote: > > Multiple filesystems can already return EFSCORRUPTED errors to userspace; > however, so far, definitions of EFSCORRUPTED were in filesystem-private > headers. > > I wanted to use EUCLEAN to indicate data corruption in the VFS layer; > Dave Chinner says that I should instead hoist the definitions of > EFSCORRUPTED into the UAPI header and then use EFSCORRUPTED. > > This patch is marked for stable backport because it is a prerequisite for > the following patch. > > Cc: stable@vger.kernel.org > Suggested-by: Dave Chinner > Signed-off-by: Jann Horn > --- > fs/ext2/ext2.h | 1 - > fs/ext4/ext4.h | 1 - > fs/xfs/xfs_linux.h | 1 - > include/linux/jbd2.h | 1 - > include/uapi/asm-generic/errno.h | 1 + > 5 files changed, 1 insertion(+), 4 deletions(-) For asm-generic: Acked-by: Arnd Bergmann