summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorZhao Lei2015-12-31 14:07:17 +0100
committerDavid Sterba2016-02-18 10:26:12 +0100
commitb257cf50060cada63a3fe11a932909b9badf4595 (patch)
tree3b4d36cafc38ee4fb67baf0b134b09f229b54d36 /COPYING
parentbtrfs: reada: Remove level argument in severial functions (diff)
downloadkernel-qcow2-linux-b257cf50060cada63a3fe11a932909b9badf4595.tar.gz
kernel-qcow2-linux-b257cf50060cada63a3fe11a932909b9badf4595.tar.xz
kernel-qcow2-linux-b257cf50060cada63a3fe11a932909b9badf4595.zip
btrfs: reada: move reada_extent_put to place after __readahead_hook()
We can't release reada_extent earlier than __readahead_hook(), because __readahead_hook() still need to use it, it is necessary to hode a refcnt to avoid it be freed. Actually it is not a problem after my patch named: Avoid many times of empty loop It make reada_extent in above line include at least one reada_extctl, which keeps additional one refcnt for reada_extent. But we still need this patch to make the code in pretty logic. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions