Re: [PATCH] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-04 Thread Glenn Washburn
On Wed, 2 Dec 2020 15:36:06 +0100 Daniel Kiper wrote: > On Fri, Nov 27, 2020 at 02:36:24AM -0600, Glenn Washburn wrote: > > If there is a loopback device with the same name as the one to be > > created, instead of closing the old one and replacing it with the > > new one, return an error instead.

Re: [PATCH] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-12-02 Thread Daniel Kiper
On Fri, Nov 27, 2020 at 02:36:24AM -0600, Glenn Washburn wrote: > If there is a loopback device with the same name as the one to be created, > instead of closing the old one and replacing it with the new one, return an > error instead. If the loopback device was created, its probably being used > b

[PATCH] loopback: Do not automaticaly replace existing loopback dev, error instead

2020-11-27 Thread Glenn Washburn
If there is a loopback device with the same name as the one to be created, instead of closing the old one and replacing it with the new one, return an error instead. If the loopback device was created, its probably being used by something and just replacing it may cause grub to loop forever. This f