ntfs_log_error("Failed.\n") is evil. TODO: Implement ntfs_log_errortrace
parent
3cd59df400
commit
f12f4aefb7
|
@ -1657,7 +1657,7 @@ out:
|
|||
if (ni)
|
||||
ntfs_inode_close(ni);
|
||||
if (err) {
|
||||
ntfs_log_error("Failed.\n");
|
||||
ntfs_log_error("%s(): Failed.\n", __FUNCTION__);
|
||||
errno = err;
|
||||
return -1;
|
||||
}
|
||||
|
@ -1755,7 +1755,7 @@ int ntfs_link(ntfs_inode *ni, ntfs_inode *dir_ni, ntfschar *name, u8 name_len)
|
|||
rollback_failed:
|
||||
ntfs_log_error("Rollback failed. Leaving inconsistent metadata.\n");
|
||||
err_out:
|
||||
ntfs_log_error("Failed.\n");
|
||||
ntfs_log_error("%s(): Failed.\n", __FUNCTION__);
|
||||
free(fn);
|
||||
errno = err;
|
||||
return -1;
|
||||
|
|
|
@ -322,7 +322,7 @@ error_exit:
|
|||
ntfs_inode_close(vol->mft_ni);
|
||||
vol->mft_ni = NULL;
|
||||
}
|
||||
ntfs_log_error("Failed.\n");
|
||||
ntfs_log_error("%s(): Failed.\n", __FUNCTION__);
|
||||
errno = eo;
|
||||
return -1;
|
||||
}
|
||||
|
@ -1535,7 +1535,7 @@ int ntfs_volume_write_flags(ntfs_volume *vol, const u16 flags)
|
|||
ret = 0; /* success */
|
||||
err_out:
|
||||
ntfs_attr_put_search_ctx(ctx);
|
||||
ntfs_log_error("Failed.\n");
|
||||
ntfs_log_error("%s(): Failed.\n", __FUNCTION__);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue