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
bnep
cmtp
hidp
rfcomm
Kconfig -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 363 bytes
a2mp.c -rw-r--r-- 11.9 KB
af_bluetooth.c -rw-r--r-- 15.8 KB
hci_conn.c -rw-r--r-- 22.6 KB
hci_core.c -rw-r--r-- 60.7 KB
hci_event.c -rw-r--r-- 86.8 KB
hci_sock.c -rw-r--r-- 22.7 KB
hci_sysfs.c -rw-r--r-- 13.5 KB
l2cap_core.c -rw-r--r-- 131.2 KB
l2cap_sock.c -rw-r--r-- 26.5 KB
lib.c -rw-r--r-- 3.2 KB
mgmt.c -rw-r--r-- 84.2 KB
sco.c -rw-r--r-- 20.5 KB
smp.c -rw-r--r-- 23.2 KB

back to top