path: root/common/blspec.c
diff options
authorUwe Kleine-König <>2014-02-07 22:28:12 +0100
committerSascha Hauer <>2014-02-10 09:02:21 +0100
commitf97f4b6571d1297973f08b9f921778e0b2e7f064 (patch)
tree2f270dff58b9b90d11c455f6498389177ec1bd21 /common/blspec.c
parentf43f827bb4bc03526cbfa4ac58fac6747e3caddb (diff)
mount: support filesystem options passed via -o
Similar to mount(8) the barebox command mount now supports passing a string to the file system driver via -o. This is used in the next commit to let the user specify port numbers for nfs mounts. Signed-off-by: Uwe Kleine-König <> Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'common/blspec.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/common/blspec.c b/common/blspec.c
index 2244d5a..df3c9c3 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -276,7 +276,7 @@ static int blspec_scan_cdev(struct blspec *blspec, struct cdev *cdev)
if (type == filetype_mbr || type == filetype_gpt)
return -EINVAL;
- rootpath = cdev_mount_default(cdev);
+ rootpath = cdev_mount_default(cdev, NULL);
if (IS_ERR(rootpath))
return PTR_ERR(rootpath);