One more errno save/restore.

edge.strict_endians
uvman 2006-10-22 01:11:48 +00:00
parent 7b6f7e98d4
commit 480fdb14d5
1 changed files with 0 additions and 2 deletions

View File

@ -3834,11 +3834,9 @@ static int ntfs_resident_attr_resize(ntfs_attr *na, const s64 newsize)
ntfs_attr_put_search_ctx(ctx);
if (ntfs_inode_free_space(na->ni, offsetof(ATTR_RECORD,
non_resident_end) + 8)) {
err = errno;
ntfs_log_trace("Couldn't free space in the MFT record "
"to make attribute list non "
"resident.\n");
errno = err;
return -1;
}
return ntfs_resident_attr_resize(na, newsize);