[systemd-commits] src/fstab-generator
Tom Gundersen
tomegun at kemper.freedesktop.org
Mon Nov 26 15:42:48 PST 2012
src/fstab-generator/fstab-generator.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit a83cbaccd03c3f28e47e9330f4a22ff65ce4b561
Author: Tom Gundersen <teg at jklm.no>
Date: Mon Nov 26 03:49:21 2012 +0100
fstab-generator: remove redundancy in mount_is_bind
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index 62053b7..bb4dd97 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -194,9 +194,7 @@ finish:
static bool mount_is_bind(struct mntent *me) {
assert(me);
- return
- hasmntopt(me, "bind") ||
- streq(me->mnt_opts, "bind");
+ return hasmntopt(me, "bind");
}
static bool mount_is_network(struct mntent *me) {
More information about the systemd-commits
mailing list