Changes in uspace/srv/fs/mfs/mfs_balloc.c [cde999a:1eaa3cf] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_balloc.c
rcde999a r1eaa3cf 54 54 * the new inode will be saved. 55 55 * 56 * @return EOK on success or a nerror code.56 * @return EOK on success or a negative error code. 57 57 */ 58 58 int … … 68 68 * @param inum Number of the inode to free. 69 69 * 70 * @return EOK on success or a nerror code.70 * @return EOK on success or a negative error code. 71 71 */ 72 72 int … … 82 82 * of the zone will be saved. 83 83 * 84 * @return EOK on success or a nerror code.84 * @return EOK on success or a negative error code. 85 85 */ 86 86 int … … 105 105 * @param zone Index of the zone to free. 106 106 * 107 * @return EOK on success or a nerror code.107 * @return EOK on success or a negative error code. 108 108 */ 109 109 int … … 132 132 * will be stored. 133 133 * 134 * @return EOK on success or a nerror code.134 * @return EOK on success or a negative error code. 135 135 */ 136 136 int … … 146 146 * will be stored. 147 147 * 148 * @return EOK on success or a nerror code.148 * @return EOK on success or a negative error code. 149 149 */ 150 150 … … 162 162 * will be stores. 163 163 * 164 * @return EOK on success or a nerror code.164 * @return EOK on success or a negative error code. 165 165 */ 166 166 static int … … 226 226 * BMAP_INODE if operating on the inode's bitmap. 227 227 * 228 * @return EOK on success or a nerror code.228 * @return EOK on success or a negative error code. 229 229 */ 230 230 static int … … 246 246 printf(NAME ": Error! Trying to free beyond the " 247 247 "bitmap max size\n"); 248 return EIO;248 return -1; 249 249 } 250 250 } else { … … 254 254 printf(NAME ": Error! Trying to free beyond the " 255 255 "bitmap max size\n"); 256 return EIO;256 return -1; 257 257 } 258 258 } … … 293 293 * BMAP_INODE if operating on the inode's bitmap. 294 294 * 295 * @return EOK on success or a nerror code.295 * @return EOK on success or a negative error code. 296 296 */ 297 297 static int … … 303 303 unsigned *search, i, start_block; 304 304 unsigned bits_per_block; 305 int r; 306 int freebit; 305 int r, freebit; 307 306 308 307 sbi = inst->sbi;
Note:
See TracChangeset
for help on using the changeset viewer.