summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorOleg Kanatov <okanatov@gmail.com>2022-10-28 14:16:39 +0200
committerDave Kleikamp <dave.kleikamp@oracle.com>2022-11-10 22:08:00 +0100
commitd0e482c45c50117bfb568825a41f0693e5f33c0f (patch)
tree671763d6d704d0dba1bc4be9726adbc57b9b7f30 /fs/jfs
parentfs: jfs: fix shift-out-of-bounds in dbDiscardAG (diff)
downloadlinux-d0e482c45c50117bfb568825a41f0693e5f33c0f.tar.xz
linux-d0e482c45c50117bfb568825a41f0693e5f33c0f.zip
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 <okanatov@gmail.com> Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/jfs_umount.c2
1 files changed, 1 insertions, 1 deletions
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