summaryrefslogtreecommitdiff
path: root/fs/jfs
diff options
context:
space:
mode:
authorOleg Kanatov <okanatov@gmail.com>2022-10-28 15:16:39 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2022-11-10 15:08:00 -0600
commitd0e482c45c50117bfb568825a41f0693e5f33c0f (patch)
tree671763d6d704d0dba1bc4be9726adbc57b9b7f30 /fs/jfs
parent25e70c6162f207828dd405b432d8f2a98dbf7082 (diff)
downloadlinux-next-d0e482c45c50117bfb568825a41f0693e5f33c0f.tar.gz
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