Use wrappers for access to lowerpaths and their number.
Fixes: 896ee4b155fe ("overlayfs: add mnt_id paths options")
https://virtuozzo.atlassian.net/browse/PSBM-157244
Signed-off-by: Konstantin Khorenko <[email protected]>
---
fs/overlayfs/super.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 2aeec05c1a34..54904e3197d7 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -402,8 +402,8 @@ static int ovl_show_options(struct seq_file *m, struct
dentry *dentry)
}
if (ovl_mnt_id_path_opts) {
- print_mnt_ids_option(m, "lowerdir_mnt_id", oe->lowerpaths,
- ovl_numlower(oe));
+ print_mnt_ids_option(m, "lowerdir_mnt_id", ovl_lowerpaths(oe),
+ ovl_numlowerpaths(oe));
/*
* We don't need to show mnt_id for workdir because it
* on the same mount as upperdir.
--
2.43.5
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel