Re: [PATCH] btrfs-progs: fix is_block_device() return checks

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

 



On Fri, Aug 28, 2015 at 10:11:30PM +0800, Anand Jain wrote:
> it was highlighted to me is_block_device(), returns
>  1 if the file is a block device,
>  < 0 in case of an error (eg: file not found)
>  0 otherwise
> 
> This patch makes proper return checks at all the places
> where is_block_device() is used. Thanks to Goffredo.
> 
> Signed-off-by: Anand Jain <anand.jain@xxxxxxxxxx>
> Suggested-by: Goffredo Baroncelli <kreijack@xxxxxxxxx>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux