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
..
2024-09-12 12:20:41 +02:00
2024-09-16 13:07:59 +02:00
2024-10-05 15:18:04 -07:00
2024-10-04 10:05:13 -07:00
2024-07-15 11:14:59 -07:00
2024-07-15 11:14:59 -07:00
2024-09-16 09:14:02 +02:00
2024-09-23 11:55:17 -07:00
2024-09-19 06:38:43 +02:00
2024-09-24 15:44:18 -07:00
2024-09-23 15:03:30 -04:00
2024-09-24 11:08:40 -07:00
2024-09-19 10:18:15 +02:00
2024-05-28 11:52:53 +02:00
\n
2024-09-23 10:49:28 -07:00
2024-08-21 22:32:58 +02:00
2024-10-04 09:56:05 -07:00
2024-04-23 13:27:43 +02:00
2024-10-02 12:02:15 -07:00
2024-08-29 06:20:44 +12:00
2024-07-15 11:14:59 -07:00
2024-09-16 08:54:30 +02:00
2024-09-16 08:35:09 +02:00
2024-09-18 08:53:53 +02:00
2024-09-23 10:05:41 -07:00
2024-08-28 13:05:39 +02:00
2024-09-24 15:44:18 -07:00
2024-09-16 08:54:30 +02:00
2024-09-24 15:29:42 -07:00
2024-09-16 11:15:26 +02:00
2024-09-24 15:29:42 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 18:29:19 +02:00
2024-09-27 08:18:43 -07:00
2024-05-02 16:28:20 +02:00
2024-09-16 08:35:09 +02:00