linux-stable/fs/ufs
Al Viro dce3e8d33a ufs: untangle ubh_...block...(), part 3
Pass fragment number instead of a block one.  It's available in all
callers and it makes the logics inside those helpers much simpler.
The bitmap they operate upon is with bit per fragment, block being
an aligned group of 1, 2, 4 or 8 adjacent fragments.  We still
need a switch by the number of fragments in block (== number of
bits to check/set/clear), but finding the byte we need to work
with becomes uniform and that makes the things easier to follow.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2024-10-18 17:35:31 -04:00
..
balloc.c ufs: untangle ubh_...block...(), part 3 2024-10-18 17:35:31 -04:00
cylinder.c ufs: fix ufs_read_cylinder() failure handling 2024-10-18 17:35:31 -04:00
dir.c ufs: fix handling of delete_entry and set_link failures 2024-10-18 17:35:30 -04:00
file.c ufs: missing ->splice_write() 2024-10-18 17:35:31 -04:00
ialloc.c ufs: convert to new timestamp accessors 2023-10-18 14:08:28 +02:00
inode.c buffer: Convert __block_write_begin() to take a folio 2024-08-07 11:33:36 +02:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c ufs: fix handling of delete_entry and set_link failures 2024-10-18 17:35:30 -04:00
super.c fs: ufs: add MODULE_DESCRIPTION() 2024-07-04 23:43:10 -07:00
swab.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ufs_fs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ufs.h ufs: fix handling of delete_entry and set_link failures 2024-10-18 17:35:30 -04:00
util.c fix ufs_get_locked_folio() breakage 2023-12-13 11:14:09 -05:00
util.h ufs: untangle ubh_...block...(), part 3 2024-10-18 17:35:31 -04:00