summaryrefslogtreecommitdiff
path: root/libdiskfs/io-owner-mod.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-04-15 22:30:07 +0000
committerRoland McGrath <roland@gnu.org>2001-04-15 22:30:07 +0000
commit2f7f90ce15cce79ef83a8d273e3a27b5b527c7d7 (patch)
tree09a6e59e3a04367a3b6de603743852cef8bfdcc8 /libdiskfs/io-owner-mod.c
parent01a41bf0c6cb18922a5b6a3d7fd8bd4cfdd18368 (diff)
2001-04-15 Neal H Walfield <neal@cs.uml.edu>
* dir.c (diskfs_get_directs): Total rewrite. (diskfs_lookup_hard): Likewise. (diskfs_enter_hard): Count node size in the size of the dirent so diskfs_get_directs does not have to guess; this is only a few bytes different. Check the amount of space correctly, i.e. we cannot compare bytes and pages. * node.c: (diskfs_free_node): We already hold diskfs_node_refcnt_lock; do not try to lock it again. (diskfs_cached_lookup): Use diskfs_nref, that is why we have it. Link the nodes correctly. (diskfs_set_translator): Add or remove S_IPTRANS from np->dn_stat.st_mode as appropriate. (diskfs_truncate): Set the new np->dn_stat.st_size. (diskfs_grow): Move the assert up.
Diffstat (limited to 'libdiskfs/io-owner-mod.c')
0 files changed, 0 insertions, 0 deletions