summaryrefslogtreecommitdiffstats
path: root/fs/fs.c
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2022-02-07 10:49:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2022-02-08 09:09:59 +0100
commit240bf4f87471f4d15e97731fbe120f92ddd4ad16 (patch)
tree52cdc646e871ddba707cf782fb907e27677dded2 /fs/fs.c
parente4a7f8e21cc55e633ca7997819d8ebdb94d305af (diff)
downloadbarebox-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 60fdb29078..968e77b808 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -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);