[lvc-project] [PATCH] jfs: Fix a typo in function jfs_umount

Dave Kleikamp dave.kleikamp at oracle.com
Fri Nov 11 00:46:09 MSK 2022


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 <okanatov at gmail.com>
> ---
>   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



More information about the lvc-project mailing list