Re: [PATCH] btrfs: fix uninitialized return value

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

 



23:18, David Sterba wrote:
> When allocation fails in btrfs_read_fs_root_no_name, ret is not set
> although it is returned, holding a garbage value.
> 
> Signed-off-by: David Sterba <dsterba@xxxxxxx>

Thanks! My gcc doesn't warn on this..

Reviewed-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

--
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