diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-02-07 10:49:46 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-02-08 09:09:59 +0100 |
commit | 240bf4f87471f4d15e97731fbe120f92ddd4ad16 (patch) | |
tree | 52cdc646e871ddba707cf782fb907e27677dded2 /fs/fs.c | |
parent | e4a7f8e21cc55e633ca7997819d8ebdb94d305af (diff) | |
download | barebox-240bf4f87471f4d15e97731fbe120f92ddd4ad16.tar.gz barebox-240bf4f87471f4d15e97731fbe120f92ddd4ad16.tar.xz |
cdev: rename partuuid to uuid
Partitions are not the only devices that can have UUIDs. Change the name to
something more generic to prepare for other users.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Link: https://lore.barebox.org/20220124100458.2924679-2-m.olbrich@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.barebox.org/20220207094953.949868-1-s.hauer@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/fs.c')
-rw-r--r-- | fs/fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2999,8 +2999,8 @@ int mount(const char *device, const char *fsname, const char *pathname, cdev_is_mci_main_part_dev(fsdev->cdev->master)) str = get_linux_mmcblkdev(fsdev); - if (!str && fsdev->cdev->partuuid[0] != 0) - str = basprintf("root=PARTUUID=%s", fsdev->cdev->partuuid); + if (!str && fsdev->cdev->uuid[0] != 0) + str = basprintf("root=PARTUUID=%s", fsdev->cdev->uuid); if (str) fsdev_set_linux_rootarg(fsdev, str); |