Skip to content
Commit af63dd71 authored by Al Viro's avatar Al Viro
Browse files

bcache_register(): don't bother with set_blocksize()



We are not using __bread() anymore and read_cache_page_gfp() doesn't
care about block size.  Moreover, we should *not* change block
size on a device that is currently held exclusive - filesystems
that use buffer cache expect the block numbers to be interpreted
in units set by filesystem.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
ACKed-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0bbac3fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment