summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-05-25 12:49:27 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-05-25 12:49:27 -0700
commite8c2f9fdadee7cbc75134dc463c1e0d856d6e5c7 (patch)
tree468af00fec2e7579c88b969e38a61f87fb6fab45
parent13e4d2579eb34e9731bcc5ca73205708355e5d99 (diff)
parent974820a59efde7c1a7e1260bcfe9bb81f833cc9f (diff)
Merge tag 'for-7.1/hpfs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull hpfs fix from Mikulas Patocka: - Fix a crash on corrupted filesystem * tag 'for-7.1/hpfs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: hpfs: fix a crash if hpfs_map_dnode_bitmap fails
-rw-r--r--fs/hpfs/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/alloc.c b/fs/hpfs/alloc.c
index 66617b1557c6..f5150372618e 100644
--- a/fs/hpfs/alloc.c
+++ b/fs/hpfs/alloc.c
@@ -372,8 +372,8 @@ int hpfs_check_free_dnodes(struct super_block *s, int n)
return 0;
}
}
+ hpfs_brelse4(&qbh);
}
- hpfs_brelse4(&qbh);
i = 0;
if (hpfs_sb(s)->sb_c_bitmap != -1) {
bmp = hpfs_map_bitmap(s, b, &qbh, "chkdn1");