On Fri, Jan 18, 2019 at 05:14:38PM +0100, 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 <david@fromorbit.com>
Signed-off-by: Jann Horn <jannh@google.com>
Looks fine to me.
Acked-by: Dave Chinner <redacted>
--
Dave Chinner
david@fromorbit.com