diff options
author | Jakob Unterwurzacher | 2016-11-17 23:40:03 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-11-17 23:40:03 +0100 |
commit | 6f475da116edb7a86a809a25b6b47c70805ba219 (patch) | |
tree | 1d119ae3dfda5843993db611547e0a067f5ff746 /internal | |
parent | 36b4e325ca59723462639fc6f2705eaa9b14ca68 (diff) |
Fix golint warnings, add helper script
Diffstat (limited to 'internal')
-rw-r--r-- | internal/fusefrontend/write_lock.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/fusefrontend/write_lock.go b/internal/fusefrontend/write_lock.go index bbab81c..053298d 100644 --- a/internal/fusefrontend/write_lock.go +++ b/internal/fusefrontend/write_lock.go @@ -13,6 +13,7 @@ type DevInoStruct struct { ino uint64 } +// DevInoFromStat fills a new DevInoStruct with the passed Stat_t info func DevInoFromStat(st *syscall.Stat_t) DevInoStruct { // Explicit cast to uint64 to prevent build problems on 32-bit platforms return DevInoStruct{ |