From d0e482c45c50117bfb568825a41f0693e5f33c0f Mon Sep 17 00:00:00 2001 From: Oleg Kanatov Date: Fri, 28 Oct 2022 15:16:39 +0300 Subject: [PATCH] jfs: Fix a typo in function jfs_umount When closing the block allocation map, an incorrect pointer was NULL'ed. This commit fixes that. Signed-off-by: Oleg Kanatov Signed-off-by: Dave Kleikamp --- 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 95ebcd1..8ec43f5 100644 --- a/fs/jfs/jfs_umount.c +++ b/fs/jfs/jfs_umount.c @@ -87,7 +87,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.7.4