freebsd-dev/lib
Brian Behlendorf 741304503a Prevent duplicate mnttab cache entries
Under Linux its possible to mount the same filesystem multiple
times in the namespace.  This can be done either with bind mounts
or simply with multiple mount points.  Unfortunately, the mnttab
cache code is implemented using an AVL tree which does not support
duplicate entries.  To avoid this issue this patch updates the
code to check for a duplicate entry before adding a new one.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Michael Martin <mgmartin.mgm@gmail.com>
Closes #2041
2014-01-14 10:27:12 -08:00
..
libavl Remove autotools products 2012-08-27 11:47:44 -07:00
libefi Define the needed ISA types for Sparc 2014-01-09 15:49:59 -08:00
libnvpair Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
libshare Remove unconditional sharetab update 2014-01-07 09:48:09 -08:00
libspl Define the needed ISA types for Sparc 2014-01-09 15:49:59 -08:00
libunicode Remove autotools products 2012-08-27 11:47:44 -07:00
libuutil Remove autotools products 2012-08-27 11:47:44 -07:00
libzfs Prevent duplicate mnttab cache entries 2014-01-14 10:27:12 -08:00
libzfs_core Illumos #3996 2013-11-05 12:23:11 -08:00
libzpool cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00