]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: reada: Use fs_info instead of root in __readahead_hook's argument
authorZhao Lei <zhaolei@cn.fujitsu.com>
Thu, 31 Dec 2015 14:46:45 +0000 (22:46 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 18 Feb 2016 09:26:12 +0000 (10:26 +0100)
commitca0192c88a89531455b4e9f1794fcfc9918ea329
tree8c1efbaa0ebef64c7343fef340d195ef316fc5aa
parent05fa7a12076162f5aa61ba2c58831481141978e5
btrfs: reada: Use fs_info instead of root in __readahead_hook's argument

What __readahead_hook() need exactly is fs_info, no need to convert
fs_info to root in caller and convert back in __readahead_hook()

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