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.j...@oracle.com> > Suggested-by: Goffredo Baroncelli <kreij...@inwind.it>
Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html