summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-07-12 23:49:56 +0000
committergVisor bot <gvisor-bot@google.com>2021-07-12 23:49:56 +0000
commit158f028c96c3bf8a683bbc98ccf23c546cc7b326 (patch)
tree41b5313c6f0ccc3589a58147d1fe1dced3aca012 /runsc/fsgofer
parentcbf3251b8d2ea4b6ab3eff2bd6a4b2804a11706c (diff)
parent7132b9a07b55b1c2944f19bb938878d147785a72 (diff)
Merge release-20210705.0-12-g7132b9a07 (automated)
Diffstat (limited to 'runsc/fsgofer')
-rw-r--r--runsc/fsgofer/fsgofer.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/runsc/fsgofer/fsgofer.go b/runsc/fsgofer/fsgofer.go
index 3f362b25e..07497e47b 100644
--- a/runsc/fsgofer/fsgofer.go
+++ b/runsc/fsgofer/fsgofer.go
@@ -51,10 +51,10 @@ const (
// verityXattrs are the extended attributes used by verity file system.
var verityXattrs = map[string]struct{}{
- "user.merkle.offset": struct{}{},
- "user.merkle.size": struct{}{},
- "user.merkle.childrenOffset": struct{}{},
- "user.merkle.childrenSize": struct{}{},
+ "user.merkle.offset": {},
+ "user.merkle.size": {},
+ "user.merkle.childrenOffset": {},
+ "user.merkle.childrenSize": {},
}
// join is equivalent to path.Join() but skips path.Clean() which is expensive.