linux/fs/ufs
Al Viro 0bfd3e1078 ufs: fix ufs_read_cylinder() failure handling
1) ufs_load_cylinder() should return NULL on ufs_read_cylinder() failures.
ufs_error() is not enough.  As it is, IO failure on attempt to read a part
of cylinder group metadata is likely to end up with an oops.

2) we drop the wrong buffer heads when undoing sb_bread() on IO failure
halfway through the read - we need to brelse() what we've got from
sb_bread(), TYVM...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2024-10-18 17:35:31 -04:00
..
balloc.c ufs: convert ufs_change_blocknr() to use folios 2023-10-25 16:47:09 -07: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
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
ufs.h ufs: fix handling of delete_entry and set_link failures 2024-10-18 17:35:30 -04:00
ufs_fs.h
util.c fix ufs_get_locked_folio() breakage 2023-12-13 11:14:09 -05:00
util.h ufs: Convert ufs_prepare_chunk() to take a folio 2024-08-07 11:31:52 +02:00