]> www.infradead.org Git - users/hch/blktests.git/commit
common: Add _test_dev_is_partition() helper function
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Tue, 5 Mar 2019 05:24:46 +0000 (14:24 +0900)
committerOmar Sandoval <osandov@fb.com>
Thu, 7 Mar 2019 19:24:23 +0000 (11:24 -0800)
commitf35b631c62d345367d93dc3256d89ccf887025f6
treeaa6a9e3cc28a120143b4d33d84feb9cc3c81bc0a
parented76f166658702a7724c228325e02fc434570a1e
common: Add _test_dev_is_partition() helper function

To control test conditions unique for partition devices, introduce the
_test_dev_is_partition() helper function. Refer TEST_DEV_PART_SYSFS
variable to tell if the TEST_DEV is a partition device or not.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
common/rc