mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-22 06:50:52 +03:00
Revised ioctl/dmfs merge with fixes for bugs found in tests.
This commit is contained in:
parent
3251a708e4
commit
53bff262f8
@ -169,11 +169,17 @@ static int _info(int argc, char **argv)
|
||||
goto out;
|
||||
}
|
||||
|
||||
printf("state: %s\n",
|
||||
printf("State: %s\n",
|
||||
info.suspended ? "SUSPENDED" : "ACTIVE");
|
||||
printf("open count: %d\n", info.open_count);
|
||||
printf("major, minor: %d, %d\n", info.major, info.minor);
|
||||
printf("number of targets: %d\n", info.target_count);
|
||||
|
||||
if (info.open_count != -1)
|
||||
printf("Open count: %d\n", info.open_count);
|
||||
|
||||
printf("Major, minor: %d, %d\n", info.major, info.minor);
|
||||
|
||||
if (info.target_count != -1)
|
||||
printf("Number of targets: %d\n", info.target_count);
|
||||
|
||||
r = 1;
|
||||
|
||||
out:
|
||||
|
Loading…
x
Reference in New Issue
Block a user