summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-12-10 19:25:03 +0800
committerChris Mason <clm@fb.com>2014-01-28 13:19:41 -0800
commitb37392ea86761e97d46b567667ff158e8bb67b72 (patch)
tree0c57373c4c9dea9cf799d762cf13724982e0ecc1 /mm
parentcc37bb04201217b7acb11213e16cb5530c30da8f (diff)
downloadlwn-b37392ea86761e97d46b567667ff158e8bb67b72.tar.gz
lwn-b37392ea86761e97d46b567667ff158e8bb67b72.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions