summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-10-06 11:27:58 -0700
committergVisor bot <gvisor-bot@google.com>2021-10-06 11:31:16 -0700
commita259115490332409b284868a0d25e39f2d63a3fe (patch)
tree121b8c56334debe30574f1bc4d4c4b5b296fdff6 /runsc/boot
parentcb0ae997f3693f18f1b1dd9e2cbd0c9814a3c3e4 (diff)
Add global lisafs kernel flag.
PiperOrigin-RevId: 401296116
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/loader.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go
index fb67a8072..2f2d4df5e 100644
--- a/runsc/boot/loader.go
+++ b/runsc/boot/loader.go
@@ -241,10 +241,8 @@ func New(args Args) (*Loader, error) {
// Is this a VFSv2 kernel?
if args.Conf.VFS2 {
kernel.VFS2Enabled = true
- if args.Conf.FUSE {
- kernel.FUSEEnabled = true
- }
-
+ kernel.FUSEEnabled = args.Conf.FUSE
+ kernel.LISAFSEnabled = args.Conf.Lisafs
vfs2.Override()
}