util-linux/libmount
Karel Zak 6257e44582 libmount: close device fd (to avoid mount(2) EBUSY)
libmount uses libblkid to detect filesystem type. Unfortunately, the
blkid probe struct is not freed before mount(2), it means that the
device is still open and mount(2) may return EBUSY.

We don't need persistent blkid stuff in libmount, so let's close
all immediately after device probing.

Reported-by: David Zeuthen <zeuthen@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-27 10:30:08 +02:00
..
docs libmount: add mnt_table_find_devno() 2012-04-25 09:49:50 +02:00
src libmount: close device fd (to avoid mount(2) EBUSY) 2012-04-27 10:30:08 +02:00
.gitignore build-sys: use top-level directory for libmount rather than shlibs/mount 2011-06-09 21:59:52 +02:00
COPYING docs: use .LGPL extension for file with GNU Lesser License 2011-08-31 11:12:17 +02:00
Makefile.am build-sys: add --enable-new-mount 2012-01-11 17:05:08 +01:00
mount.pc.in build-sys: use top-level directory for libmount rather than shlibs/mount 2011-06-09 21:59:52 +02:00