[RH7] ve: Export ve_allow_ioctl_fitrim

Submitted by Kirill Tkhai on March 18, 2021, 8:51 a.m.

Details

Message ID 161605750989.136467.56103943526922386.stgit@localhost.localdomain
State New
Series "ve: Export ve_allow_ioctl_fitrim"
Headers show

Commit Message

Kirill Tkhai March 18, 2021, 8:51 a.m.
Otherwise it can't be used in modules.

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

Patch hide | download patch | download mbox

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);