diff options
Diffstat (limited to 'block')
| -rw-r--r-- | block/test-iosched.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/block/test-iosched.c b/block/test-iosched.c index e5409cec9af4..cf50436d2d17 100644 --- a/block/test-iosched.c +++ b/block/test-iosched.c @@ -911,6 +911,14 @@ static int test_debugfs_init(struct test_iosched *tios) if (!tios->debug.start_sector) goto err; + tios->debug.sector_range = debugfs_create_u32( + "sector_range", + S_IRUGO | S_IWUGO, + tios->debug.debug_utils_root, + &tios->sector_range); + if (!tios->debug.sector_range) + goto err; + return 0; err: |
