Commit ba605e54 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: document Blksize and Blocks in Attr

Change-Id: I1c098b6c06ab62aa7877e47aa3d99f37e9a83e5c
parent a3bb2189
...@@ -18,6 +18,8 @@ const ( ...@@ -18,6 +18,8 @@ const (
type Attr struct { type Attr struct {
Ino uint64 Ino uint64
Size uint64 Size uint64
// Blocks is the number of 512-byte blocks that the file occupies on disk.
Blocks uint64 Blocks uint64
Atime uint64 Atime uint64
Mtime uint64 Mtime uint64
...@@ -29,6 +31,8 @@ type Attr struct { ...@@ -29,6 +31,8 @@ type Attr struct {
Nlink uint32 Nlink uint32
Owner Owner
Rdev uint32 Rdev uint32
// Blksize is the preferred size for file system operations.
Blksize uint32 Blksize uint32
Padding uint32 Padding uint32
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment