diff options
| author | Hongzhen Luo <[email protected]> | 2024-10-15 10:38:36 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2024-11-18 10:50:14 +0000 |
| commit | bae0854160939a64a092516ff1b2f221402b843b (patch) | |
| tree | 32ca31717517c131f2d596ca8ea8f783b1d6d4b1 /drivers/fpga/altera-fpga2sdram.c | |
| parent | erofs: get rid of `buf->kmap_type` (diff) | |
| download | kernel-bae0854160939a64a092516ff1b2f221402b843b.tar.gz kernel-bae0854160939a64a092516ff1b2f221402b843b.zip | |
erofs: fix blksize < PAGE_SIZE for file-backed mounts
Adjust sb->s_blocksize{,_bits} directly for file-backed
mounts when the fs block size is smaller than PAGE_SIZE.
Previously, EROFS used sb_set_blocksize(), which caused
a panic if bdev-backed mounts is not used.
Fixes: fb176750266a ("erofs: add file-backed mount support")
Signed-off-by: Hongzhen Luo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
