]> err.no Git - util-linux/commit
losetup: mount endless loop hang
authorKarel Zak <kzak@redhat.com>
Thu, 23 Apr 2009 13:09:04 +0000 (15:09 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Apr 2009 13:09:04 +0000 (15:09 +0200)
commitfc08b4bb9d5997c0d65eec37b5c795ddbbbebd97
tree014818f66759ef9f0e697053013cb7adb9447475
parent357e7c3b2d54a36fb97e2ac5fa903c7a6aeafd7e
losetup: mount endless loop hang

Based on
       fix-hang-on-stale-nfs.diff
from SUSE src.rpm package.

It seems better to more precisely check for ENXIO rather than assume
that all LOOP_GET_STATUS errors mean that the device is not used.

Addresses-Novell-Bugzilla: #449646
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/lomount.c