]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: correctly interpret '*' from /etc/filesystems
authorKarel Zak <kzak@redhat.com>
Mon, 26 Nov 2012 10:21:40 +0000 (11:21 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 26 Nov 2012 10:21:40 +0000 (11:21 +0100)
commitec8121b103bafec90bc1d2fef524f94d408caab3
treea0993bfb03c8ebdd7111fdf46c269c0b5ae10e71
parent6c32b388b5407c4692dbaf4d7ee835f87f2e98b2
libmount: correctly interpret '*' from /etc/filesystems

 - single line with '*' in /etc/filesystems means that libmount has to
   read /proc/filesystems, otherwise /proc/filesystems has to be ignored

 - mount(2) ENODEV is no reason to break the do_mount_by_pattern()
   loop when trying to mount by /{etc,proc}/filesystems

Reported-by: NeilBrown <neilb@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context_mount.c
libmount/src/utils.c