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:
parent
b83af51668
commit
1b7750c4bd
@ -1542,7 +1542,7 @@ static struct dm_ioctl *_flatten(struct dm_task *dmt, unsigned repeat_count)
|
|||||||
"kernel. Aborting operation.");
|
"kernel. Aborting operation.");
|
||||||
goto bad;
|
goto bad;
|
||||||
}
|
}
|
||||||
dmi->flags |= DM_NEW_UUID_FLAG;
|
dmi->flags |= DM_UUID_FLAG;
|
||||||
}
|
}
|
||||||
|
|
||||||
dmi->target_count = count;
|
dmi->target_count = count;
|
||||||
|
@ -328,6 +328,6 @@ enum {
|
|||||||
* If set, rename changes the uuid not the name. Only permitted
|
* If set, rename changes the uuid not the name. Only permitted
|
||||||
* if no uuid was previously supplied: an existing uuid cannot be changed.
|
* 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 */
|
#endif /* _LINUX_DM_IOCTL_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user