git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e54b17
)
btrfs: use DIV_ROUND_UP instead of open-coded variants
author
David Sterba
<dsterba@suse.cz>
Wed, 4 Jun 2014 23:59:57 +0000
(
01:59
+0200)
committer
Chris Mason
<clm@fb.com>
Wed, 17 Sep 2014 20:37:17 +0000
(13:37 -0700)
The form
(value + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT
is equivalent to
(value + PAGE_CACHE_SIZE - 1) / PAGE_CACHE_SIZE
The rest is a simple subsitution, no difference in the generated
assembly code.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
No differences found