From: Miao Xie Date: Tue, 10 Dec 2013 11:25:03 +0000 (+0800) Subject: Btrfs: cleanup unnecessary parameter and variant of prepare_pages() X-Git-Tag: v3.14-rc1~29^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37392ea86761e97d46b567667ff158e8bb67b72;p=pandora-kernel.git Btrfs: cleanup unnecessary parameter and variant of prepare_pages() - the caller has gotten the inode object, needn't pass the file object. And if so, we needn't define a inode pointer variant. - the position should be aligned by the page size not sector size, so we also needn't pass the root object into prepare_pages(). Signed-off-by: Miao Xie Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed