Re: [PATCH] btrfs: opencode extent_buffer_get

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

 



On 10/8/19 7:35 PM, Johannes Thumshirn wrote:
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 ;-)

 -ditto- ;-)


Reviewed-by: Anand Jain <anand.jain@xxxxxxxxxx>

Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>







[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