Changes in / [20a3465:45bf63c] in mainline
- Location:
- uspace
- Files:
-
- 10 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_ops.c
r20a3465 r45bf63c 384 384 if (flags & L_DIRECTORY) { 385 385 ino_i->i_mode = S_IFDIR; 386 ino_i->i_nlinks = 1; /* This accounts for the '.' dentry */387 } else 386 ino_i->i_nlinks = 2; /* This accounts for the '.' dentry */ 387 } else { 388 388 ino_i->i_mode = S_IFREG; 389 ino_i->i_nlinks = 1; 390 } 389 391 390 392 ino_i->i_uid = 0; … … 673 675 if (r != EOK) 674 676 goto exit_error; 675 676 child->ino_i->i_nlinks++;677 child->ino_i->dirty = true;678 677 679 678 if (S_ISDIR(child->ino_i->i_mode)) {
Note:
See TracChangeset
for help on using the changeset viewer.