From 9d7a4bf93c0d20a7eb2f07ef2ef63834f2cbf6a9 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 29 Oct 2019 00:04:39 -0700 Subject: filesystem: remove Mount.Options fscrypt doesn't currently do anything with the mount options, so remove them from the Mount structure for now. --- filesystem/filesystem.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'filesystem/filesystem.go') diff --git a/filesystem/filesystem.go b/filesystem/filesystem.go index 3884e6e..2b3383c 100644 --- a/filesystem/filesystem.go +++ b/filesystem/filesystem.go @@ -66,7 +66,6 @@ var ( // Mount contains information for a specific mounted filesystem. // Path - Absolute path where the directory is mounted // FilesystemType - Type of the mounted filesystem, e.g. "ext4" -// Options - List of options used when mounting the filesystem // Device - Device for filesystem (empty string if we cannot find one) // // In order to use a Mount to store fscrypt metadata, some directories must be @@ -92,7 +91,6 @@ var ( type Mount struct { Path string FilesystemType string - Options []string Device string } @@ -124,8 +122,7 @@ const ( func (m *Mount) String() string { return fmt.Sprintf(`%s FilesystemType: %s - Options: %v - Device: %s`, m.Path, m.FilesystemType, m.Options, m.Device) + Device: %s`, m.Path, m.FilesystemType, m.Device) } // BaseDir returns the path to the base fscrypt directory for this filesystem. -- cgit v1.2.3