Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2778/libntfs
Modified Files:
attrib.c
Log Message:
$EA can be resident and non-resident. Fix libntfs/attrib.c::
ntfs_attr_can_be_resident() apropriately. (Anton)
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.184
retrieving revision 1.185
diff -u -p -r1.184 -r1.185
--- attrib.c 16 Oct 2005 19:21:47 -0000 1.184
+++ attrib.c 19 Oct 2005 08:13:44 -0000 1.185
@@ -2446,7 +2446,7 @@ int ntfs_attr_can_be_resident(const ntfs
errno = EINVAL;
return -1;
}
- if (type != AT_INDEX_ALLOCATION && type != AT_EA)
+ if (type != AT_INDEX_ALLOCATION)
return 0;
errno = EPERM;
return -1;
|