diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-06-21 11:53:28 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-06-21 11:53:28 +1000 |
commit | 128f24d5d9def3c47b6b659b2454f0426a347144 (patch) | |
tree | d710ea5064f2301990475e8f6081e9e8313aaa74 /fs/xfs/libxfs/xfs_alloc.h | |
parent | 479c641273df632478cda7fe76b833df64e319bc (diff) | |
download | blackbird-op-linux-128f24d5d9def3c47b6b659b2454f0426a347144.tar.gz blackbird-op-linux-128f24d5d9def3c47b6b659b2454f0426a347144.zip |
xfs: check for a valid error_tag in errortag_add
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@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_alloc.h')
0 files changed, 0 insertions, 0 deletions