summaryrefslogtreecommitdiff
path: root/fs_test/common
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2016-01-30 23:26:22 +0800
committerngkaho1234 <ngkaho1234@gmail.com>2016-01-30 23:26:22 +0800
commit8929c98e42e81dce0b00d03a1c7b2f45ee85fe87 (patch)
tree4105a1ca03e0c61983402e087d600e973e43faa9 /fs_test/common
parent9b40d089d6cf5912b558dd3e0ca1a246baa6750a (diff)
ext4: add read_only parameter to ext4_mount routine.
Now users can mount a filesystem as read-only mode explicitly.
Diffstat (limited to 'fs_test/common')
-rw-r--r--fs_test/common/test_lwext4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_test/common/test_lwext4.c b/fs_test/common/test_lwext4.c
index b31d0fe..f515b58 100644
--- a/fs_test/common/test_lwext4.c
+++ b/fs_test/common/test_lwext4.c
@@ -336,7 +336,7 @@ bool test_lwext4_mount(struct ext4_blockdev *bdev, struct ext4_bcache *bcache)
return false;
}
- r = ext4_mount("ext4_fs", "/mp/");
+ r = ext4_mount("ext4_fs", "/mp/", false);
if (r != EOK) {
printf("ext4_mount: rc = %d\n", r);
return false;