From: Linus Torvalds Date: Thu, 29 Nov 2012 20:31:52 +0000 (-0800) Subject: blkdev_max_block: make private to fs/buffer.c X-Git-Tag: v3.7-rc8~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbec0270bdd887f96377065ee38b8848b5afa395;p=pandora-kernel.git 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 --- Reading git-diff-tree failed