From: Li Zefan Date: Wed, 20 Jul 2011 03:46:35 +0000 (+0000) Subject: Btrfs: fix readahead in file defrag X-Git-Tag: v3.1-rc1~82^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6973aa62253f3791ef6fa5e9f9de099645fc2bd;p=pandora-kernel.git Btrfs: fix readahead in file defrag We passed the wrong value to btrfs_force_ra(). Fix this by changing the argument of btrfs_force_ra() from last_index to nr_page. Signed-off-by: Li Zefan Signed-off-by: Chris Mason --- Reading git-diff-tree failed