Changes by: uvman
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357:/tmp/cvs-serv9297/libntfs
Modified Files:
attrib.c
Log Message:
One more errno save/restore.
Index: attrib.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -p -r1.222 -r1.223
--- attrib.c 22 Oct 2006 00:23:29 -0000 1.222
+++ attrib.c 22 Oct 2006 01:11:48 -0000 1.223
@@ -3834,11 +3834,9 @@ static int ntfs_resident_attr_resize(ntf
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);
|