]> git.ipfire.org Git - thirdparty/util-linux.git/commit
mount: use internally string to set move/bind operations
authorKarel Zak <kzak@redhat.com>
Fri, 1 Jun 2018 10:11:03 +0000 (12:11 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 1 Jun 2018 10:11:03 +0000 (12:11 +0200)
commit4ebea84bb1ca6b0fa817588aba13de26c8d5e5a0
tree3486dfb351a9aeff0d53649a7f00ef37c8f4018e
parentc0bdff9997d032e6be2bd89e89d3e06fa02a5c3f
mount: use internally string to set move/bind operations

It's better to inform libmount about operations by string than by
flags, because for example "rbind,slave" cannot be specified by
MS_REC|MS_BIND|MS_SLAVE.

https://bugzilla.redhat.com/show_bug.cgi?id=1584443
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/mount.c