Changeset 5ab597d in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c
- Timestamp:
- 2008-08-22T19:44:52Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be8f92d
- Parents:
- 2e4bd1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.