diff options
author | 2012-11-29 12:31:52 -0800 | |
---|---|---|
committer | 2012-11-29 17:48:12 -0800 | |
commit | bbec0270bdd887f96377065ee38b8848b5afa395 (patch) | |
tree | 4a38397643dceb5285afe11c78e27763a2ead5b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | direct-io: don't read inode->i_blkbits multiple times (diff) | |
download | linux-dev-bbec0270bdd887f96377065ee38b8848b5afa395.tar.xz linux-dev-bbec0270bdd887f96377065ee38b8848b5afa395.zip |
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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions