commit bf342a1b06685ce941ca56342657c15d4cf32e67
parent 220340ac9b0a1ad56cd77e4fc5ac72f5358cc8eb
Author: Matsuda Kenji <info@mtkn.jp>
Date: Mon, 18 Dec 2023 08:22:06 +0900
delete a TODO
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/diskfs/stat_unix.go b/diskfs/stat_unix.go
@@ -90,7 +90,6 @@ func (f *File) stat() (*lib9p.FileInfo, error) {
}
stat.Uid = usr.Username
gid := stat_t.Gid
- // TODO: this call is time consuming.
fileid := fileID{device: uint64(stat_t.Dev), inode: stat_t.Ino}
if _, ok := gidCache[fileid]; !ok {
group, err := user.LookupGroupId(strconv.Itoa(int(gid)))