Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8b58fc1 in mainline


Ignore:
Timestamp:
2009-08-12T18:16:48Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
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.