From a5a6e12619aedb5842ed9df63a379dce2c537eff Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Thu, 26 Sep 2013 00:32:06 +0900 Subject: [PATCH] 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 --- libmount/src/context_mount.c | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.47.3