Fix a logic error that made 'ls -ls' show the wrong file size for compressed and sparse files.

edge.strict_endians
uvman 2006-07-21 22:04:44 +00:00
parent 0d94460169
commit 9efb57918f
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ get_size:
if (ctx->attr->non_resident) {
ni->data_size = sle64_to_cpu(ctx->attr->data_size);
if (ctx->attr->flags &
(ATTR_IS_COMPRESSED & ATTR_IS_SPARSE))
(ATTR_IS_COMPRESSED | ATTR_IS_SPARSE))
ni->allocated_size = sle64_to_cpu(
ctx->attr->compressed_size);
else