forked from torvalds/linux
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ext4: use do_div() to calculate block offset
Use do_div() to calculate the block offset and the offset within the block, make the code more concise. Signed-off-by: Chunguang Xu <brookxu@tencent.com>
- Loading branch information
1 parent
f00c1a2
commit 1bcce45cce439ec86a89aa8cfc895b5e9ad5046b
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters