Re: [PATCH] btrfs: Make btrfs_read_disk_super return struct btrfs_disk_super

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

 




On 15.04.20 г. 18:14 ч., David Sterba wrote:
> There's no NULL check as mentioned in the changelog, or do you mean to
> make it explicit that there's no NULL check? The docs of
> read_cache_page_gfp say it returns ERR_PTR so I consider it clear
> enough. The changelog wording confuses me a bit, but otherwise the patch
> looks good.

Yes I wanted to make it explicit why I'm not checking for NULL.



[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