Changeset 18eb736 in mainline
- Timestamp:
- 2011-07-26T18:59:37Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88be951e
- Parents:
- 936ece7
- Location:
- uspace/srv/fs/minixfs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs.h
r936ece7 r18eb736 213 213 /*mfs_dentry.c*/ 214 214 extern int 215 read_d irectory_entry(struct mfs_node *mnode,215 read_dentry(struct mfs_node *mnode, 216 216 struct mfs_dentry_info *d_info, unsigned index); 217 217 -
uspace/srv/fs/minixfs/mfs_dentry.c
r936ece7 r18eb736 35 35 36 36 int 37 read_d irectory_entry(struct mfs_node *mnode,37 read_dentry(struct mfs_node *mnode, 38 38 struct mfs_dentry_info *d_info, unsigned index) 39 39 { … … 144 144 unsigned i; 145 145 for (i = 0; i < mnode->ino_i->i_size / sbi->dirsize ; ++i) { 146 r = read_d irectory_entry(mnode, &d_info, i);146 r = read_dentry(mnode, &d_info, i); 147 147 on_error(r, return r); 148 148 … … 173 173 unsigned i; 174 174 for (i = 0; i < mnode->ino_i->i_size / sbi->dirsize; ++i) { 175 r = read_d irectory_entry(mnode, &d_info, i);175 r = read_dentry(mnode, &d_info, i); 176 176 on_error(r, return r); 177 177 … … 187 187 on_error(r, goto out); 188 188 189 r = read_d irectory_entry(mnode, &d_info, i);189 r = read_dentry(mnode, &d_info, i); 190 190 on_error(r, goto out); 191 191 } -
uspace/srv/fs/minixfs/mfs_ops.c
r936ece7 r18eb736 376 376 unsigned i; 377 377 for (i = 0; i < mnode->ino_i->i_size / sbi->dirsize; ++i) { 378 r = read_d irectory_entry(mnode, &d_info, i);378 r = read_dentry(mnode, &d_info, i); 379 379 on_error(r, return r); 380 380 … … 605 605 unsigned i; 606 606 for (i = 2; i < mnode->ino_i->i_size / sbi->dirsize; ++i) { 607 r = read_d irectory_entry(mnode, &d_info, i);607 r = read_dentry(mnode, &d_info, i); 608 608 on_error(r, return r); 609 609 … … 658 658 659 659 for (; pos < mnode->ino_i->i_size / sbi->dirsize; ++pos) { 660 rc = read_d irectory_entry(mnode, &d_info, pos);660 rc = read_dentry(mnode, &d_info, pos); 661 661 on_error(rc, goto out_error); 662 662
Note:
See TracChangeset
for help on using the changeset viewer.