diff options
author | 2017-06-30 09:46:07 -0700 | |
---|---|---|
committer | 2017-07-01 21:08:47 -0700 | |
commit | d04c241c669209667dd8f44335591246e601139a (patch) | |
tree | 932d6e33012a971a1b726da229164d9bb7c7da09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfs: grab dquots without taking the ilock (diff) | |
download | wireguard-linux-d04c241c669209667dd8f44335591246e601139a.tar.xz wireguard-linux-d04c241c669209667dd8f44335591246e601139a.zip |
xfs: Check for m_errortag initialization in xfs_errortag_test
While adding error injection into IO completion, I notice the lack of
initialization check in xfs_errortag_test(), make the error injection
mechanism unable to be used there.
IO completion is executed a few times before the error injection
mechanism is initialized, so to be safer, make xfs_errortag_test() check
if the errortag is properly initialized.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions