]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/006: refactor reset error handling code to common/rc
authorZorro Lang <zlang@redhat.com>
Fri, 19 Aug 2016 17:56:31 +0000 (01:56 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 26 Aug 2016 07:29:49 +0000 (15:29 +0800)
commitd88e01fa7803d5ffb5e69d6620504f9d1588909e
tree07a26a91a682c03895c819dafa99d4c783cf544a
parent9c03808e4dc2fb8b1b05f8c9efec004f5bacef39
xfs/006: refactor reset error handling code to common/rc

Nearly 1/3 code is used to reset the xfs error handling attributes,
This part can be picked up, and used for other cases. So move them
to a new function _reset_xfs_sysfs_error_handling() in common/rc.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc
tests/xfs/006
tests/xfs/006.out