]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: fix is-mounted check for btrfs
authorKarel Zak <kzak@redhat.com>
Wed, 2 Dec 2015 12:38:51 +0000 (13:38 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 2 Dec 2015 12:38:51 +0000 (13:38 +0100)
commit352740e88e2c9cb180fe845ce210b1c7b5ad88c7
treed93fd598c125440799c62a57143ef5ad6737e422
parentbd9b94d12a6158b6080630085f77e59ac1b7de26
libmount: fix is-mounted check for btrfs

fstab:
  /dev/sdc        /mnt/test       btrfs   subvol=/anydir
  /mnt/test       /mnt/test2      auto    bind

and "mount -a" does not detect that /mnt/test2 is already mounted.

Reported-by: Stanislav Brabec <sbrabec@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/tab.c