Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9e2d6dc in mainline


Ignore:
Timestamp:
2011-04-17T18:40:03Z (11 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
58c36ac
Parents:
a900fb1
Message:

Fixes to mfs_dentry.c:

  • Return EOK when reading at the end of the directory entry list
  • Return the err code returned by write_dentry()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_dentry.c

    ra900fb1 r9e2d6dc  
    5757
    5858        if (block == 0) {
    59                 r = EIO;
     59                /*End of the dentries list*/
     60                r = EOK;
    6061                goto out_err;
    6162        }
     
    189190        d_info->d_name[name_len] = 0;
    190191
    191         return  write_dentry(d_info);
     192        r = write_dentry(d_info);
     193        free(d_info);
     194
     195        return r;
    192196}
    193197
Note: See TracChangeset for help on using the changeset viewer.