Changeset 6f7e0cd in mainline
- Timestamp:
- 2011-07-29T20:32:21Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eefb653
- Parents:
- 99e846f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
r99e846f0 r6f7e0cd 692 692 r = insert_dentry(child, ".", child->ino_i->index); 693 693 on_error(r, goto exit_error); 694 child->ino_i->i_nlinks++;695 child->ino_i->dirty = true;694 //child->ino_i->i_nlinks++; 695 //child->ino_i->dirty = true; 696 696 r = insert_dentry(child, "..", parent->ino_i->index); 697 697 on_error(r, goto exit_error); 698 parent->ino_i->i_nlinks++;699 parent->ino_i->dirty = true;698 //parent->ino_i->i_nlinks++; 699 //parent->ino_i->dirty = true; 700 700 } 701 701 … … 730 730 assert(chino->i_nlinks >= 1); 731 731 --chino->i_nlinks; 732 732 /* 733 733 if (chino->i_nlinks == 0 && S_ISDIR(chino->i_mode)) { 734 734 parent->ino_i->i_nlinks--; 735 735 parent->ino_i->dirty = true; 736 736 } 737 */ 737 738 738 739 chino->dirty = true; … … 1025 1026 r = mfs_free_inode(mnode->instance, mnode->ino_i->index); 1026 1027 on_error(r, return r); 1028 r = mfs_node_put(fn); 1029 on_error(r, return r); 1027 1030 1028 1031 out: 1029 free(mnode->ino_i);1030 free(mnode);1031 free(fn);1032 1032 return r; 1033 1033 }
Note:
See TracChangeset
for help on using the changeset viewer.