Skip to content
Commit bbec0270 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

blkdev_max_block: make private to fs/buffer.c



We really don't want to look at the block size for the raw block device
accesses in fs/block-dev.c, because it may be changing from under us.
So get rid of the max_block logic entirely, since the caller should
already have done it anyway.

That leaves the only user of this function in fs/buffer.c, so move the
whole function there and make it static.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ab73857e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment