diff options
| author | Eric Biggers <ebiggers@google.com> | 2019-10-29 00:04:39 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2019-10-29 00:04:39 -0700 |
| commit | 249259376da98d8e10e6876c80ff3905e9756bdc (patch) | |
| tree | a0bd6a5f79e04f369d2e6a4732d10d5a191826dd /filesystem/mountpoint.go | |
| parent | a3434e41bd482fc1b35703f66c24c9d1ec3b0be2 (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.go | 6 |
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 |