From: Namhyung Kim Date: Wed, 25 Sep 2013 15:32:06 +0000 (+0900) Subject: libmount: Remove stale comment on mnt_context_mount() X-Git-Tag: v2.24-rc1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5a6e12619aedb5842ed9df63a379dce2c537eff;p=thirdparty%2Futil-linux.git libmount: Remove stale comment on mnt_context_mount() 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 --- diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c index 4f376e4dd8..41106fea09 100644 --- a/libmount/src/context_mount.c +++ b/libmount/src/context_mount.c @@ -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;