https://github.com/torvalds/linux
Revision bbec0270bdd887f96377065ee38b8848b5afa395 authored by Linus Torvalds on 29 November 2012, 20:31:52 UTC, committed by Linus Torvalds on 30 November 2012, 01:48:12 UTC
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: Linus Torvalds <torvalds@linux-foundation.org>
1 parent ab73857
History
Tip revision: bbec0270bdd887f96377065ee38b8848b5afa395 authored by Linus Torvalds on 29 November 2012, 20:31:52 UTC
blkdev_max_block: make private to fs/buffer.c
Tip revision: bbec027
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 224.8 KB
Makefile -rw-r--r-- 46.6 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top