aboutsummaryrefslogtreecommitdiff
path: root/filesystem/mountpoint.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-10-29 00:04:39 -0700
committerEric Biggers <ebiggers@google.com>2019-10-29 00:04:39 -0700
commit249259376da98d8e10e6876c80ff3905e9756bdc (patch)
treea0bd6a5f79e04f369d2e6a4732d10d5a191826dd /filesystem/mountpoint.go
parenta3434e41bd482fc1b35703f66c24c9d1ec3b0be2 (diff)
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.
Diffstat (limited to 'filesystem/mountpoint.go')
-rw-r--r--filesystem/mountpoint.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/filesystem/mountpoint.go b/filesystem/mountpoint.go
index abd8232..856447f 100644
--- a/filesystem/mountpoint.go
+++ b/filesystem/mountpoint.go
@@ -87,9 +87,9 @@ func getMountInfo() error {
// Create the Mount structure by converting types.
mnt := Mount{
- Path: C.GoString(entry.mnt_dir),
- Filesystem: C.GoString(entry.mnt_type),
- Options: strings.Split(C.GoString(entry.mnt_opts), ","),
+ Path: C.GoString(entry.mnt_dir),
+ FilesystemType: C.GoString(entry.mnt_type),
+ Options: strings.Split(C.GoString(entry.mnt_opts), ","),
}
// Skip invalid mountpoints