Changeset 75e0f15 in mainline
- Timestamp:
- 2011-09-05T18:41:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5222e746
- Parents:
- bbd4c72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
rbbd4c72 r75e0f15 298 298 *index = mroot->ino_i->index; 299 299 *size = mroot->ino_i->i_size; 300 *linkcnt = mroot->ino_i->i_nlinks;300 *linkcnt = 1; 301 301 302 302 return mfs_node_put(fn); … … 549 549 struct mfs_node *mnode = fsnode->data; 550 550 551 mfsdebug("%s() \n", __FUNCTION__);551 mfsdebug("%s() %d\n", __FUNCTION__, mnode->ino_i->i_nlinks); 552 552 553 553 if (S_ISDIR(mnode->ino_i->i_mode)) { … … 556 556 else 557 557 return 0; 558 } 559 560 return mnode->ino_i->i_nlinks; 558 } else 559 return mnode->ino_i->i_nlinks; 561 560 } 562 561
Note:
See TracChangeset
for help on using the changeset viewer.