[Devel] [PATCH vz8] ve/fs/binfmt: Save ve owner on sb->s_fs_info
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Jul 29 22:22:57 MSK 2021
During rebase to RHEL8.4 i've lost this assigment of the ve owner of the
binfmt_misc object in sb->s_fs_info, so resurrect it.
Fixes: 90fb0e27408e ("ve/fs/binfmt: virtualization")
https://jira.sw.ru/browse/PSBM-131960
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
fs/binfmt_misc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index e2678655a0e3..c21d03fd3f15 100644
--- a/fs/binfmt_misc.c
+++ b/fs/binfmt_misc.c
@@ -875,9 +875,10 @@ static int bm_fill_super(struct super_block *sb, struct fs_context *fc)
}
sb->s_op = &s_ops;
+ sb->s_fs_info = ve;
+ get_ve(ve);
bm_data->enabled = 1;
- get_ve(ve);
return 0;
}
--
2.28.0
More information about the Devel
mailing list