Changes in uspace/srv/fs/udf/udf_file.c [cde999a:5c702a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_file.c
rcde999a r5c702a8 38 38 #include <libfs.h> 39 39 #include <errno.h> 40 #include < stdlib.h>40 #include <malloc.h> 41 41 #include <inttypes.h> 42 42 #include <io/log.h> … … 54 54 * @param pos Position with which we read 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 */ … … 71 71 FLE32(exd->extent_location.lblock_num); 72 72 73 log_msg(L OG_DEFAULT, LVL_DEBUG,73 log_msg(LVL_DEBUG, 74 74 "Extended allocator: start=%d, block_num=%d, len=%d", start, 75 75 FLE32(exd->extent_location.lblock_num), FLE32(exd->info_length)); … … 90 90 * @param len Length of sequence 91 91 * 92 * @return EOK on success or a nerror code.92 * @return EOK on success or a negative error code. 93 93 * 94 94 */ … … 100 100 switch (icb_flag) { 101 101 case UDF_SHORT_AD: 102 log_msg(L OG_DEFAULT, LVL_DEBUG,102 log_msg(LVL_DEBUG, 103 103 "ICB: sequence of allocation descriptors - icbflag = short_ad_t"); 104 104 … … 167 167 168 168 case UDF_LONG_AD: 169 log_msg(L OG_DEFAULT, LVL_DEBUG,169 log_msg(LVL_DEBUG, 170 170 "ICB: sequence of allocation descriptors - icbflag = long_ad_t"); 171 171 … … 203 203 204 204 case UDF_EXTENDED_AD: 205 log_msg(L OG_DEFAULT, LVL_DEBUG,205 log_msg(LVL_DEBUG, 206 206 "ICB: sequence of allocation descriptors - icbflag = extended_ad_t"); 207 207 break; 208 208 209 209 case UDF_DATA_AD: 210 log_msg(L OG_DEFAULT, LVL_DEBUG,210 log_msg(LVL_DEBUG, 211 211 "ICB: sequence of allocation descriptors - icbflag = 3, node contains data itself"); 212 212 … … 231 231 * @param node UDF node 232 232 * 233 * @return EOK on success or a nerror code.233 * @return EOK on success or a negative error code. 234 234 */ 235 235 int udf_read_icb(udf_node_t *node) … … 253 253 switch (FLE16(data->id)) { 254 254 case UDF_FILE_ENTRY: 255 log_msg(L OG_DEFAULT, LVL_DEBUG, "ICB: File entry descriptor found");255 log_msg(LVL_DEBUG, "ICB: File entry descriptor found"); 256 256 257 257 udf_file_entry_descriptor_t *file = … … 267 267 268 268 case UDF_EFILE_ENTRY: 269 log_msg(L OG_DEFAULT, LVL_DEBUG, "ICB: Extended file entry descriptor found");269 log_msg(LVL_DEBUG, "ICB: Extended file entry descriptor found"); 270 270 271 271 udf_extended_file_entry_descriptor_t *efile = … … 281 281 282 282 case UDF_ICB_TERMINAL: 283 log_msg(L OG_DEFAULT, LVL_DEBUG, "ICB: Terminal entry descriptor found");283 log_msg(LVL_DEBUG, "ICB: Terminal entry descriptor found"); 284 284 block_put(block); 285 285 return EOK; … … 300 300 * @param node UDF node 301 301 * 302 * @return EOK on success or a nerror code.302 * @return EOK on success or a negative error code. 303 303 * 304 304 */ … … 315 315 * @param pos Number of FID which we need to find 316 316 * 317 * @return EOK on success or a nerror code.317 * @return EOK on success or a negative error code. 318 318 * 319 319 */ … … 366 366 * @param pos Number of FID which we need to find 367 367 * 368 * @return EOK on success or a nerror code.368 * @return EOK on success or a negative error code. 369 369 * 370 370 */ … … 385 385 * @param pos Number of FID which we need to find 386 386 * 387 * @return EOK on success or a nerror code.387 * @return EOK on success or a negative error code. 388 388 * 389 389 */ … … 466 466 * @param len Length of buf 467 467 * 468 * @return EOK on success or a nerror code.468 * @return EOK on success or a negative error code. 469 469 * 470 470 */ … … 573 573 * @param len Length of data for reading 574 574 * 575 * @return EOK on success or a nerror code.575 * @return EOK on success or a negative error code. 576 576 * 577 577 */
Note:
See TracChangeset
for help on using the changeset viewer.