Commit 3193b2e9 authored by Glenn K. Lockwood's avatar Glenn K. Lockwood

make ioctl return the full ost map in test app

parent 6c828abb
...@@ -158,6 +158,7 @@ int main(int argc, char **argv) ...@@ -158,6 +158,7 @@ int main(int argc, char **argv)
else if ( opt_ioctl ) else if ( opt_ioctl )
{ {
lum->lmm_magic = LOV_USER_MAGIC; lum->lmm_magic = LOV_USER_MAGIC;
lum->lmm_stripe_count = LOV_MAX_STRIPE_COUNT;
ret = ioctl( fd, LL_IOC_LOV_GETSTRIPE, (void *)lum ); ret = ioctl( fd, LL_IOC_LOV_GETSTRIPE, (void *)lum );
} }
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment