From 249259376da98d8e10e6876c80ff3905e9756bdc Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 29 Oct 2019 00:04:39 -0700 Subject: filesystem: rename Mount.Filesystem to Mount.FilesystemType Make it clear that this refers to a type of filesystem such as "ext4", rather than to a specific filesystem instance. --- cmd/fscrypt/status.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cmd/fscrypt') diff --git a/cmd/fscrypt/status.go b/cmd/fscrypt/status.go index 9959b54..375899b 100644 --- a/cmd/fscrypt/status.go +++ b/cmd/fscrypt/status.go @@ -91,8 +91,8 @@ func writeGlobalStatus(w io.Writer) error { continue } - fmt.Fprintf(t, "%s\t%s\t%s\t%s\t%s\n", mount.Path, mount.Device, mount.Filesystem, - supportString, yesNoString(usingFscrypt)) + fmt.Fprintf(t, "%s\t%s\t%s\t%s\t%s\n", mount.Path, mount.Device, + mount.FilesystemType, supportString, yesNoString(usingFscrypt)) if supportErr == nil { supportCount++ @@ -139,8 +139,9 @@ func writeFilesystemStatus(w io.Writer, ctx *actions.Context) error { return err } - fmt.Fprintf(w, "%s filesystem %q has %s and %s\n\n", ctx.Mount.Filesystem, ctx.Mount.Path, - pluralize(len(options), "protector"), pluralize(len(policyDescriptors), "policy")) + fmt.Fprintf(w, "%s filesystem %q has %s and %s\n\n", ctx.Mount.FilesystemType, + ctx.Mount.Path, pluralize(len(options), "protector"), + pluralize(len(policyDescriptors), "policy")) if len(options) > 0 { writeOptions(w, options) -- cgit v1.2.3