[PATCH v1 1/2] romfs: use s_blocksize(_bits) if CONFIG_BLOCK

2020-06-22 Thread Sven Van Asbroeck
The super_block fields s_blocksize and s_blocksize_bits always reflect the actual configured blocksize for a filesystem. Use these in all calculations where blocksize is required. This allows us to easily change the blocksize in a later patch. Note that I cannot determine what happens if

[PATCH v1 1/2] romfs: use s_blocksize(_bits) if CONFIG_BLOCK

2020-06-22 Thread Sven Van Asbroeck
The super_block fields s_blocksize and s_blocksize_bits always reflect the actual configured blocksize for a filesystem. Use these in all calculations where blocksize is required. This allows us to easily change the blocksize in a later patch. Note that I cannot determine what happens if