ntfs_ib_write(): don't log ENOSPC error (full disk)
parent
03b1f670f1
commit
d5642d5cd6
|
|
@ -87,9 +87,10 @@ static int ntfs_ib_write(ntfs_index_context *icx, VCN vcn, void *buf)
|
||||||
ret = ntfs_attr_mst_pwrite(icx->ia_na, ntfs_ib_vcn_to_pos(icx, vcn),
|
ret = ntfs_attr_mst_pwrite(icx->ia_na, ntfs_ib_vcn_to_pos(icx, vcn),
|
||||||
1, icx->block_size, buf);
|
1, icx->block_size, buf);
|
||||||
if (ret != 1) {
|
if (ret != 1) {
|
||||||
ntfs_log_perror("Failed to write index block %lld of inode "
|
if (errno != ENOSPC)
|
||||||
"%llu", (long long)vcn,
|
ntfs_log_perror("Failed to write index block %lld of "
|
||||||
(unsigned long long)icx->ni->mft_no);
|
"inode %llu", (long long)vcn,
|
||||||
|
(unsigned long long)icx->ni->mft_no);
|
||||||
return STATUS_ERROR;
|
return STATUS_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue