When closing the block allocation map, an incorrect pointer
was NULL'ed. This commit fixes that.
Signed-off-by: Oleg Kanatov <[email protected]>
---
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 3e8b13e6aa01..673e132c1c26 100644
--- a/fs/jfs/jfs_umount.c
+++ b/fs/jfs/jfs_umount.c
@@ -89,7 +89,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.30.2
Applied. Thanks.
On 10/28/22 7:16AM, Oleg Kanatov wrote:
> When closing the block allocation map, an incorrect pointer
> was NULL'ed. This commit fixes that.
>
> Signed-off-by: Oleg Kanatov <[email protected]>
> ---
> 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 3e8b13e6aa01..673e132c1c26 100644
> --- a/fs/jfs/jfs_umount.c
> +++ b/fs/jfs/jfs_umount.c
> @@ -89,7 +89,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