diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2013-12-10 19:25:03 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 13:19:41 -0800 |
commit | b37392ea86761e97d46b567667ff158e8bb67b72 (patch) | |
tree | 0c57373c4c9dea9cf799d762cf13724982e0ecc1 /mm | |
parent | cc37bb04201217b7acb11213e16cb5530c30da8f (diff) | |
download | lwn-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