Re: [PATCH] btrfs: opencode extent_buffer_get

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

 



On 08/10/2019 13:28, David Sterba wrote:
> The helper is trivial and we can understand what the atomic_inc on
> something named refs does.
> 
> Signed-off-by: David Sterba <dsterba@xxxxxxxx>
> ---
> 
> quiz: find where and how is the refs are decremented


free_extent_buffer(), free_extent_buffer_stale(),
release_extent_buffer() and alloc_extent_buffer() in free_eb label ;-)

Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>



-- 
Johannes Thumshirn                            SUSE Labs Filesystems
jthumshirn@xxxxxxx                                +49 911 74053 689
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5
90409 Nürnberg
Germany
(HRB 247165, AG München)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850



[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