summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/context_mount.c
diff options
context:
space:
mode:
authorKarel Zak2010-12-17 17:46:24 +0100
committerKarel Zak2011-01-03 12:28:47 +0100
commit36bda5cbd0a18b2ae6aadd36fd54813f29566602 (patch)
tree5270b2ee85dcc3eeb618b98a16102ae7e2d2a5fd /shlibs/mount/src/context_mount.c
parenttests: add libmount utab tests (diff)
downloadkernel-qcow2-util-linux-36bda5cbd0a18b2ae6aadd36fd54813f29566602.tar.gz
kernel-qcow2-util-linux-36bda5cbd0a18b2ae6aadd36fd54813f29566602.tar.xz
kernel-qcow2-util-linux-36bda5cbd0a18b2ae6aadd36fd54813f29566602.zip
libmount: cleanup MS_RDONLY usageand mnt_update_* symbols
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/context_mount.c')
-rw-r--r--shlibs/mount/src/context_mount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shlibs/mount/src/context_mount.c b/shlibs/mount/src/context_mount.c
index b66b060e2..41673bc0f 100644
--- a/shlibs/mount/src/context_mount.c
+++ b/shlibs/mount/src/context_mount.c
@@ -353,6 +353,11 @@ static int do_mount(mnt_context *cxt, const char *try_type)
if (fs)
rc = mnt_fs_set_fstype(fs, try_type);
}
+
+ /* TODO: check if the result is really read-only/read-write
+ * and if necessary update cxt->mountflags
+ */
+
return rc;
}