[Devel] [PATCH RH7] ve: Export ve_allow_ioctl_fitrim

Kirill Tkhai ktkhai at virtuozzo.com
Thu Mar 18 11:51:52 MSK 2021


Otherwise it can't be used in modules.

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 kernel/ve/ve.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/ve/ve.c b/kernel/ve/ve.c
index ca63b98a6726..44804761299c 100644
--- a/kernel/ve/ve.c
+++ b/kernel/ve/ve.c
@@ -74,6 +74,7 @@ bool ve_allow_ioctl_fitrim = 0;
 module_param_named(allow_ioctl_fitrim, ve_allow_ioctl_fitrim, bool, 0644);
 MODULE_PARM_DESC(ve_allow_ioctl_fitrim,
 		 "Allow ioctl(FITRIM) from inside VE. Only ext4 is supported now");
+EXPORT_SYMBOL(ve_allow_ioctl_fitrim);
 
 static DEFINE_PER_CPU(struct kstat_lat_pcpu_snap_struct, ve0_lat_stats);
 




More information about the Devel mailing list