]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: don't pass comments=/x-* to mount.<type> helpers
authorKarel Zak <kzak@redhat.com>
Wed, 25 Jan 2012 16:14:24 +0000 (17:14 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Jan 2012 16:14:24 +0000 (17:14 +0100)
commit5810d870970709684cee1219f3459b5cc3fc9915
tree4dcebb6acbde599b8447c65a0ceefb87d9f92ee9
parentb82590ad46acf9fe8d332b53875e24c3c31e2482
libmount: don't pass comments=/x-* to mount.<type> helpers

This patch add a new flag MNT_NOHLPS for mount options map, options
with this flag will not be passed to /sbin/mount.<type> helpers.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_mount.c
libmount/src/libmount.h.in
libmount/src/optmap.c