From: Oleg Kanatov Date: Fri, 28 Oct 2022 12:16:39 +0000 (+0300) Subject: jfs: Fix a typo in function jfs_umount X-Git-Url: https://repo.jachan.dev/J-linux.git/commitdiff_plain/d0e482c45c50117bfb568825a41f0693e5f33c0f 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 --- diff --git a/fs/jfs/jfs_umount.c b/fs/jfs/jfs_umount.c index 95ebcd17ce75..8ec43f53f686 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