* [PATCH] jfs: Fix a typo in function jfs_umount
@ 2022-10-28 12:16 Oleg Kanatov
2022-11-10 21:46 ` Dave Kleikamp
0 siblings, 1 reply; 2+ messages in thread
From: Oleg Kanatov @ 2022-10-28 12:16 UTC (permalink / raw)
To: Dave Kleikamp
Cc: Oleg Kanatov, jfs-discussion, linux-kernel, lvc-project, Oleg Kanatov
When closing the block allocation map, an incorrect pointer
was NULL'ed. This commit fixes that.
Signed-off-by: Oleg Kanatov <okanatov@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
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] jfs: Fix a typo in function jfs_umount
2022-10-28 12:16 [PATCH] jfs: Fix a typo in function jfs_umount Oleg Kanatov
@ 2022-11-10 21:46 ` Dave Kleikamp
0 siblings, 0 replies; 2+ messages in thread
From: Dave Kleikamp @ 2022-11-10 21:46 UTC (permalink / raw)
To: Oleg Kanatov; +Cc: Oleg Kanatov, jfs-discussion, linux-kernel, lvc-project
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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-10 21:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-28 12:16 [PATCH] jfs: Fix a typo in function jfs_umount Oleg Kanatov
2022-11-10 21:46 ` Dave Kleikamp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®