Changeset 08e103d4 in mainline for uspace/srv/fs/mfs/mfs_ops.c
- Timestamp:
- 2019-02-05T18:26:05Z (7 years ago)
- Children:
- 1d2f85e
- Parents:
- d066259
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 16:16:55)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-05 18:26:05)
- File:
-
- 1 edited
-
uspace/srv/fs/mfs/mfs_ops.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_ops.c
rd066259 r08e103d4 495 495 496 496 struct mfs_sb_info *sbi = mnode->instance->sbi; 497 const size_t comp_size = str_ size(component);497 const size_t comp_size = str_bytes(component); 498 498 499 499 unsigned i; … … 508 508 } 509 509 510 const size_t dentry_name_size = str_ size(d_info.d_name);510 const size_t dentry_name_size = str_bytes(d_info.d_name); 511 511 512 512 if (comp_size == dentry_name_size && … … 703 703 bool destroy_dentry = false; 704 704 705 if (str_ size(name) > sbi->max_name_len)705 if (str_bytes(name) > sbi->max_name_len) 706 706 return ENAMETOOLONG; 707 707 … … 873 873 found: 874 874 async_data_read_finalize(&call, d_info.d_name, 875 str_ size(d_info.d_name) + 1);875 str_bytes(d_info.d_name) + 1); 876 876 bytes = ((pos - spos) + 1); 877 877 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
