Changeset 8b58fc1 in mainline for uspace/srv/vfs/vfs_node.c


Ignore:
Timestamp:
2009-08-12T18:16:48Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
00a9625, 64cbf94
Parents:
7c68a05d
Message:

VFS does not define the meaning of the VFS node size member for directories, so
it does not make much sense to require its consistency in vfs_node_get().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_node.c

    r7c68a05d r8b58fc1  
    188188        }
    189189
    190         assert(node->size == result->size);
     190        assert(node->size == result->size || node->type != VFS_NODE_FILE);
    191191        assert(node->lnkcnt == result->lnkcnt);
    192192        assert(node->type == result->type || result->type == VFS_NODE_UNKNOWN);
Note: See TracChangeset for help on using the changeset viewer.