summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfsitem/item_dir.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-12-27 01:00:30 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2022-12-27 20:41:50 -0700
commit6a314a2de6c2b3299b2220e90be9338d1365c076 (patch)
tree2b0bbbb1b48cdeec8c6a8165282a76408cc54a91 /lib/btrfs/btrfsitem/item_dir.go
parenta54e21d9538abece01ecc2e5327eed01fa56a949 (diff)
Improve comments and related messages
Diffstat (limited to 'lib/btrfs/btrfsitem/item_dir.go')
-rw-r--r--lib/btrfs/btrfsitem/item_dir.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfs/btrfsitem/item_dir.go b/lib/btrfs/btrfsitem/item_dir.go
index 836c477..b3e33f4 100644
--- a/lib/btrfs/btrfsitem/item_dir.go
+++ b/lib/btrfs/btrfsitem/item_dir.go
@@ -30,7 +30,7 @@ type DirEntry struct { // DIR_ITEM=84 DIR_INDEX=96 XATTR_ITEM=24
NameLen uint16 `bin:"off=0x1b, siz=2"` // [ignored-when-writing]
Type FileType `bin:"off=0x1d, siz=1"`
binstruct.End `bin:"off=0x1e"`
- Data []byte `bin:"-"`
+ Data []byte `bin:"-"` // xattr value (only for XATTR_ITEM)
Name []byte `bin:"-"`
}