aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2023-12-13 16:20:44 +0000
committerAl Viro <[email protected]>2024-10-18 21:35:31 +0000
commit0bfd3e1078c537cd66a8addb1c01835de4234a4c (patch)
treef4f0059f52cb86d4a24b956d04fe2139097df722 /fs/ext4/fast_commit.c
parentufs: missing ->splice_write() (diff)
downloadkernel-0bfd3e1078c537cd66a8addb1c01835de4234a4c.tar.gz
kernel-0bfd3e1078c537cd66a8addb1c01835de4234a4c.zip
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 <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions