Changeset 5ab597d in mainline for uspace/srv/fs
- Timestamp:
- 2008-08-22T19:44:52Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be8f92d
- Parents:
- 2e4bd1f
- Location:
- uspace/srv/fs
- Files:
-
- 2 edited
-
fat/fat_ops.c (modified) (2 diffs)
-
tmpfs/tmpfs_ops.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r2e4bd1f r5ab597d 738 738 rootp->firstc = FAT_CLST_ROOT; 739 739 rootp->refcnt = 1; 740 rootp->lnkcnt = 0; /* FS root is not linked */ 740 741 rootp->size = rde * sizeof(fat_dentry_t); 741 742 rootp->idx = ridxp; … … 744 745 futex_up(&ridxp->lock); 745 746 746 ipc_answer_ 0(rid, EOK);747 ipc_answer_3(rid, EOK, ridxp->index, rootp->size, rootp->lnkcnt); 747 748 } 748 749 -
uspace/srv/fs/tmpfs/tmpfs_ops.c
r2e4bd1f r5ab597d 234 234 return false; 235 235 } 236 root->lnkcnt = 1;236 root->lnkcnt = 0; /* FS root is not linked */ 237 237 return true; 238 238 } … … 406 406 if (dev_handle >= 0) { 407 407 if (tmpfs_restore(dev_handle)) 408 ipc_answer_0(rid, EOK); 408 ipc_answer_3(rid, EOK, root->index, root->size, 409 root->lnkcnt); 409 410 else 410 411 ipc_answer_0(rid, ELIMIT); 411 412 } else { 412 ipc_answer_0(rid, EOK);413 ipc_answer_3(rid, EOK, root->index, root->size, root->lnkcnt); 413 414 } 414 415 }
Note:
See TracChangeset
for help on using the changeset viewer.
