Changeset a5bad72 in mainline for uspace/srv/fs/minixfs/mfs_ops.c
- Timestamp:
- 2011-06-26T10:08:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2527b1d5
- Parents:
- 38b7233
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
r38b7233 ra5bad72 264 264 uint32_t inum; 265 265 266 mfsdebug("create_node()\n");267 268 266 r = mfs_instance_get(handle, &inst); 269 267 on_error(r, return r); … … 340 338 int r; 341 339 342 mfsdebug("mfs_match()\n");343 344 340 if (!S_ISDIR(ino_i->i_mode)) 345 341 return ENOTDIR; … … 522 518 struct mfs_sb_info *sbi = parent->instance->sbi; 523 519 524 mfsdebug("mfs_link() %d\n", (int) child->ino_i->index);525 526 520 if (str_size(name) > sbi->max_name_len) 527 521 return ENAMETOOLONG; … … 617 611 fs_node_t *fn; 618 612 619 mfsdebug("mfs_read()\n");620 621 613 rc = mfs_node_get(&fn, handle, index); 622 614 if (rc != EOK) { … … 657 649 if (d_info->d_inum) { 658 650 /*Dentry found!*/ 659 mfsdebug("DENTRY FOUND %s!!\n", d_info->d_name);660 651 goto found; 661 652 } … … 733 724 mfs_write(ipc_callid_t rid, ipc_call_t *request) 734 725 { 735 mfsdebug("mfs_write()\n");736 737 726 devmap_handle_t handle = (devmap_handle_t) IPC_GET_ARG1(*request); 738 727 fs_index_t index = (fs_index_t) IPC_GET_ARG2(*request); … … 850 839 int r; 851 840 841 mfsdebug("mfs_destroy_node %d\n", mnode->ino_i->index); 842 852 843 r = mfs_has_children(&has_children, fn); 853 844 on_error(r, return r); … … 875 866 fs_node_t *fn; 876 867 int r; 877 878 mfsdebug("mfs_truncate()\n");879 868 880 869 r = mfs_node_get(&fn, handle, index);
Note:
See TracChangeset
for help on using the changeset viewer.