Re: [PATCH] umount: ignore ENXIO in del_loop | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi Karel, Karel Zak <kzak@xxxxxxxxxx> writes: > On Wed, Jun 25, 2008 at 12:59:32PM +0200, Matthias Koenig wrote: >> The new loop auto-destruct feature detaches automatically loop devices >> when no longer used. This means they are detached with the umount() >> call. But when we call umount with -d, del_loop is called and fails >> because the ioctl() returns ENXIO. > > ah, good catch. Thanks! > >> We probably should ignore this error here. > > I think we could be smarter. We can try to detect autoclear > loop devices. See the patch below. Yeah, this really looks better. Thanks, Matthias -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]