From: Darrick J. Wong Date: Thu, 18 Aug 2016 23:48:44 +0000 (+1000) Subject: xfs_io: add rmap-finish error injection type X-Git-Tag: v4.8.0-rc1~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dea764e0eef3b96cd694a4b77f3bc4367ead9557;p=thirdparty%2Fxfsprogs-dev.git xfs_io: add rmap-finish error injection type Add XFS_ERRTAG_RMAP_FINISH_ONE to the types of errors we can inject. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/io/inject.c b/io/inject.c index 12e0fb393..16ac9259e 100644 --- a/io/inject.c +++ b/io/inject.c @@ -76,7 +76,9 @@ error_tag(char *name) { XFS_ERRTAG_BMAPIFORMAT, "bmapifmt" }, #define XFS_ERRTAG_FREE_EXTENT 22 { XFS_ERRTAG_FREE_EXTENT, "free_extent" }, -#define XFS_ERRTAG_MAX 23 +#define XFS_ERRTAG_RMAP_FINISH_ONE 23 + { XFS_ERRTAG_RMAP_FINISH_ONE, "rmap_finish_one" }, +#define XFS_ERRTAG_MAX 24 { XFS_ERRTAG_MAX, NULL } }; int count;