Re: [PATCH 3/4] btrfs: Refactor retval handling of btrfs_lookup_file_extent in btrfs_get_extent

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

 




On 2.01.19 г. 19:05 ч., David Sterba wrote:
> This is repeating code and could be simplified ... to the original code.

It does and this is intentional. What I've  strived to do is make the
idea of the code obvious and not try to reduce the total line of code.
It is a massive improvement given the code which modifies extent_end
triggers only in case ret is > 0. I discussed this with Johannes and he
agreed with my assessment.

> I'm not sure this patch is an improvement.



[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