Re: [PATCH] blkzone: deny destructive ioctls on busy blockdev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 15, 2020 at 05:41:33PM +0900, Johannes Thumshirn wrote:
>  sys-utils/blkzone.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied, thanks.

> +	fd = init_device(ctl, O_WRONLY | O_EXCL);
> +	if (fd < 0)
> +		errx(EXIT_FAILURE, _("%s: unable to open"), ctl->devname);

I have removed this error message. It's already within init_device().

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux