Re: [PATCH v3 2/3] btrfs: refactor check_can_nocow() into two variants

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

 



On 18/06/2020 14:09, Qu Wenruo wrote:
>> I find that try_ naming uneasy. If you take the example from locking 
>> for instance, after a successful mutex_trylock() you still need to call
>> mutex_unlock().
> 
> Yep, I have the same concern, although no good alternative naming.

Yeah, there's only two hard things in computer science, cache coherency, 
naming things and off-by-one errors.





[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