commit | b37392ea86761e97d46b567667ff158e8bb67b72 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Tue Dec 10 19:25:03 2013 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Jan 28 13:19:41 2014 -0800 |
tree | 0c57373c4c9dea9cf799d762cf13724982e0ecc1 | |
parent | cc37bb04201217b7acb11213e16cb5530c30da8f [diff] |
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 <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>