summaryrefslogtreecommitdiff
path: root/fs/timerfd.c
diff options
context:
space:
mode:
authorZhao Lei <zhaolei@cn.fujitsu.com>2015-12-18 21:33:05 +0800
committerDavid Sterba <dsterba@suse.com>2016-02-16 13:21:45 +0100
commit503785306d182ab624a2232856ef8ab503ee85f9 (patch)
treec2904b3fad25ef1662a2c4ad6623fd2bdaf75317 /fs/timerfd.c
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 (diff)
downloadlinux-503785306d182ab624a2232856ef8ab503ee85f9.tar.gz
linux-503785306d182ab624a2232856ef8ab503ee85f9.tar.bz2
linux-503785306d182ab624a2232856ef8ab503ee85f9.zip
btrfs: reada: Fix in-segment calculation for reada
reada_zone->end is end pos of segment: end = start + cache->key.offset - 1; So we need to use "<=" in condition to judge is a pos in the segment. The problem happened rearly, because logical pos rarely pointed to last 4k of a blockgroup, but we need to fix it to make code right in logic. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions