Skip to content

Commit

Permalink
jfs: Fix a typo in function jfs_umount
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleg Kanatov authored and Dave Kleikamp committed Nov 10, 2022
1 parent 25e70c6 commit d0e482c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jfs/jfs_umount.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0e482c

Please sign in to comment.