1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Use a more-generic name for the new kernel flag so list_devices can share it.

This commit is contained in:
Alasdair Kergon 2010-10-25 11:44:20 +00:00
parent b83af51668
commit 1b7750c4bd
2 changed files with 2 additions and 2 deletions

View File

@ -1542,7 +1542,7 @@ static struct dm_ioctl *_flatten(struct dm_task *dmt, unsigned repeat_count)
"kernel. Aborting operation.");
goto bad;
}
dmi->flags |= DM_NEW_UUID_FLAG;
dmi->flags |= DM_UUID_FLAG;
}
dmi->target_count = count;

View File

@ -328,6 +328,6 @@ enum {
* If set, rename changes the uuid not the name. Only permitted
* if no uuid was previously supplied: an existing uuid cannot be changed.
*/
#define DM_NEW_UUID_FLAG (1 << 14) /* In */
#define DM_UUID_FLAG (1 << 14) /* In */
#endif /* _LINUX_DM_IOCTL_H */