Changes in uspace/srv/fs/mfs/mfs_inode.c [cde999a:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_inode.c
rcde999a r9d58539 55 55 * @param index index of the inode to read. 56 56 * 57 * @return EOK on success or a nerror code.57 * @return EOK on success or a negative error code. 58 58 */ 59 59 int … … 83 83 struct mfs_sb_info *sbi; 84 84 block_t *b; 85 int i; 86 int r; 85 int i, r; 87 86 88 87 sbi = instance->sbi; … … 143 142 struct mfs_sb_info *sbi; 144 143 block_t *b; 145 int i; 146 int r; 144 int i, r; 147 145 148 146 ino_i = malloc(sizeof(*ino_i)); … … 201 199 * @param mnode Pointer to the generic MINIX inode in memory. 202 200 * 203 * @return EOK on success or a nerror code.201 * @return EOK on success or a negative error code. 204 202 */ 205 203 int … … 226 224 mfs_write_inode_raw(struct mfs_node *mnode) 227 225 { 228 int i; 229 int r; 226 int i, r; 230 227 block_t *b; 231 228 struct mfs_ino_info *ino_i = mnode->ino_i; … … 273 270 struct mfs_sb_info *sbi = mnode->instance->sbi; 274 271 block_t *b; 275 int i; 276 int r; 272 int i, r; 277 273 278 274 const uint32_t inum = ino_i->index - 1; … … 319 315 * @param size_shrink Number of bytes that will be subtracted to the inode. 320 316 * 321 * @return EOK on success or a nerror code.317 * @return EOK on success or a negative error code. 322 318 */ 323 319 int
Note:
See TracChangeset
for help on using the changeset viewer.