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 <[email protected]>
---
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
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel