btrfs: reada: Jump into cleanup in direct way for __readahead_hook()
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 31 Dec 2015 14:20:59 +0000 (22:20 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 09:26:12 +0000 (10:26 +0100)
commit57f16e08269c6a91fb77508b2fe58130c6442d94
tree0e40bed3c5d835f5c1d450d4c2206776e577ddf6
parent02873e432518f84ad8f15d8911e79659ea38085f
btrfs: reada: Jump into cleanup in direct way for __readahead_hook()

Current code set nritems to 0 to make for_loop useless to bypass it,
and set generation's value which is not necessary.
Jump into cleanup directly is better choise.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/reada.c