[RHEL8,COMMIT] fs/overlayfs: Fixed default value for parameter 'mnt_id_path_opts'

Submitted by Konstantin Khorenko on July 24, 2020, 4:42 p.m.

Details

Message ID 202007241642.06OGgW2P001700@finist-co8.sw.ru
State New
Series "fs/overlayfs: Fixed default value for parameter 'mnt_id_path_opts'"
Headers show

Commit Message

Konstantin Khorenko July 24, 2020, 4:42 p.m.
The commit is pushed to "branch-rh8-4.18.0-193.6.3.vz8.4.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh8-4.18.0-193.6.3.vz8.4.4
------>
commit 450a2c78bdd78a58311400583353d67478bbc907
Author: Valeriy.Vdovin <valeriy.vdovin@virtuozzo.com>
Date:   Fri Jul 24 19:42:32 2020 +0300

    fs/overlayfs: Fixed default value for parameter 'mnt_id_path_opts'
    
    The value queries .config with IS_ENABLED macro but CONFIG_ prefix
    is not provided.
    
    Fixes: c38c281cbe49 ("overlayfs: add mnt_id paths options")
    
    Signed-off-by: Valeriy.Vdovin <valeriy.vdovin@virtuozzo.com>
---
 fs/overlayfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 7acc0ae524dc..db3b5308172b 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -61,7 +61,7 @@  static bool ovl_dyn_path_opts =
 module_param_named(dyn_path_opts, ovl_dyn_path_opts, bool, 0644);
 MODULE_PARM_DESC(dyn_path_opts, "dyn_path_opts feature enabled");
 
-static bool ovl_mnt_id_path_opts = IS_ENABLED(OVERLAY_FS_PATH_OPTIONS_MNT_ID);
+static bool ovl_mnt_id_path_opts = IS_ENABLED(CONFIG_OVERLAY_FS_PATH_OPTIONS_MNT_ID);
 module_param_named(mnt_id_path_opts, ovl_mnt_id_path_opts, bool, 0644);
 MODULE_PARM_DESC(mnt_id_path_opts, "mnt_id_path_opts feature enabled");