The commit
f9906424 ("libmount: add post-mount checks to detect ro/rw")
added necessary check so the comment is not valid anymore.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
rc = mnt_context_prepare_update(cxt);
if (!rc)
rc = mnt_context_do_mount(cxt);
-
- /* TODO: if a mtab update is expected, then check if the
- * target is really mounted read-write to avoid 'ro' in
- * mtab and 'rw' in /proc/mounts.
- */
if (!rc)
rc = mnt_context_update_tabs(cxt);
return rc;