btrfs: remove unused parameter from readahead_tree_block
authorDavid Sterba <dsterba@suse.cz>
Sat, 14 Jun 2014 22:29:04 +0000 (00:29 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 2 Oct 2014 14:30:18 +0000 (16:30 +0200)
commit58dc4ce4325108b35425ffd30e6acfad9644d49d
treec265642f6416fa72bad1264a1b6562afcee4db84
parent1d52c78afbbf80b58299e076a159617d6b42fe3c
btrfs: remove unused parameter from readahead_tree_block

The parent_transid parameter has been unused since its introduction in
ca7a79ad8dbe2466 ("Pass down the expected generation number when reading
tree blocks").  In reada_tree_block, it was even wrongly set to leafsize.
Transid check is done in the proper read and readahead ignores errors.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/ctree.c
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent-tree.c
fs/btrfs/relocation.c