]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libmount: Remove stale comment on mnt_context_mount()
authorNamhyung Kim <namhyung@gmail.com>
Wed, 25 Sep 2013 15:32:06 +0000 (00:32 +0900)
committerKarel Zak <kzak@redhat.com>
Thu, 26 Sep 2013 07:38:04 +0000 (09:38 +0200)
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>
libmount/src/context_mount.c

index 4f376e4dd8f090826c4974b6621c11d675e53e7d..41106fea09f74f6cde794a644b2a50c9d9aaa7d4 100644 (file)
@@ -974,11 +974,6 @@ int mnt_context_mount(struct libmnt_context *cxt)
                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;