[Devel] [PATCH RHEL7 COMMIT] fs/overlayfs: Fixed default value for parameter 'mnt_id_path_opts'

Vasily Averin vvs at virtuozzo.com
Tue Jul 21 12:28:41 MSK 2020


The commit is pushed to "branch-rh7-3.10.0-1127.10.1.vz7.162.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1127.10.1.vz7.162.12
------>
commit 3746363a3c5dfaf681c810731b51b8f7ce2aa5a8
Author: Valeriy Vdovin <valeriy.vdovin at virtuozzo.com>
Date:   Tue Jul 21 12:28:41 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: c14b3044c395 ("overlayfs: add mnt_id paths options")
    Signed-off-by: Valeriy Vdovin <valeriy.vdovin at virtuozzo.com>
---
 fs/overlayfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 6a2611834480f..6b6227b9bff32 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -62,7 +62,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");
 


More information about the Devel mailing list