From 480fdb14d567c328ab52d92f42ffb12220d567a7 Mon Sep 17 00:00:00 2001 From: uvman Date: Sun, 22 Oct 2006 01:11:48 +0000 Subject: [PATCH] One more errno save/restore. --- libntfs/attrib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libntfs/attrib.c b/libntfs/attrib.c index 89d1e4ba..73769cc6 100644 --- a/libntfs/attrib.c +++ b/libntfs/attrib.c @@ -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);