* amd/conf.c (gopt_forced_unmounts): check Linux kernel version
authorErez Zadok <ezk@cs.sunysb.edu>
Mon, 25 Jul 2005 23:49:41 +0000 (23:49 +0000)
committerErez Zadok <ezk@cs.sunysb.edu>
Mon, 25 Jul 2005 23:49:41 +0000 (23:49 +0000)
commitafb9634a98f25b83f27a95dddec55981ec0bcd2c
tree6b1c87b965f603b7b1c65f0af8e5a8a6fd31a1ab
parentabfbbf055df80a53b89e7f26dc478d4876c9e075
* amd/conf.c (gopt_forced_unmounts): check Linux kernel version
and alert if your version may be too old for MNT_FORCE to work
(before 2.4.0) or for MNT_DETACH to work (before 2.6.0).
Otherwise it may be impossible to pin down the exact kernel
version in which we should enable this feature.

* conf/umount/umount_linux.c (umount2_fs): if MNT_FORCE returned
EBUSY, then don't try to stat(2) before MNT_DETACH because it
could hang.
ChangeLog
amd/conf.c
conf/umount/umount_linux.c