[PATCH] jfs: Fix a typo in function jfs_umount
From: Oleg Kanatov
Date: Fri Oct 28 2022 - 08:18:21 EST
When closing the block allocation map, an incorrect pointer
was NULL'ed. This commit fixes that.
Signed-off-by: Oleg Kanatov <okanatov@xxxxxxxxx>
---
fs/jfs/jfs_umount.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/jfs/jfs_umount.c b/fs/jfs/jfs_umount.c
index 3e8b13e6aa01..673e132c1c26 100644
--- a/fs/jfs/jfs_umount.c
+++ b/fs/jfs/jfs_umount.c
@@ -89,7 +89,7 @@ int jfs_umount(struct super_block *sb)
dbUnmount(ipbmap, 0);
diFreeSpecial(ipbmap);
- sbi->ipimap = NULL;
+ sbi->ipbmap = NULL;
/*
* Make sure all metadata makes it to disk before we mark
--
2.30.2