[PATCH 005/119] xfs: check for a valid error_tag in errortag_add

Christoph Hellwig hch at infradead.org
Fri Jun 17 06:34:42 CDT 2016


On Thu, Jun 16, 2016 at 06:18:24PM -0700, Darrick J. Wong wrote:
> Currently we don't check the error_tag when someone's trying to set up
> error injection testing.  If userspace passes in a value we don't know
> about, send back an error.  This will help xfstests to _notrun a test
> that uses error injection to test things like log replay.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong at oracle.com>

Looks fine,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list