summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-28 12:24:54 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-06-28 12:24:54 +0200
commit8ac60e9b961f12acfe300258700522b02c06a50c (patch)
treeae7044aef1318735cad5cb508c0776fc64460416 /lib/util
parent62c596a761d9a511bbf908de36e51dc76b5e3340 (diff)
Fix inode fragment & sparse counter initialization
The sparse attribute should be initialized with 0. It is subtracted from the file size in the kernel to determine the file size on disk to report to stat(2). So it actually didn't matter anyway (just for correctness sake). Second, the fragment index and offset should be set to 0xFFFFFFFF in the rare case that no fragments exist. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util')
0 files changed, 0 insertions, 0 deletions