$EA can be resident and non-resident. Fix libntfs/attrib.c::

ntfs_attr_can_be_resident() apropriately.  (Anton)
edge.strict_endians
antona 2005-10-19 08:13:44 +00:00
parent fe408380c7
commit a7fd01e543
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ xx/xx/2005 - 1.12.2-WIP
- Fix endianness bug in libntfs/index.c. (Anton)
- ntfsresize: check and report bad sectors before cluster allocation
check because chkdsk doesn't fix $Bitmap with bad sectors. (Szaka)
- $EA can be resident and non-resident. Fix libntfs/attrib.c::
ntfs_attr_can_be_resident() apropriately. (Anton)
10/10/2005 - 1.12.1 - Minor fix to location of mount.ntfs-fuse and mkfs.ntfs.

View File

@ -2446,7 +2446,7 @@ int ntfs_attr_can_be_resident(const ntfs_volume *vol, const ATTR_TYPES type)
errno = EINVAL;
return -1;
}
if (type != AT_INDEX_ALLOCATION && type != AT_EA)
if (type != AT_INDEX_ALLOCATION)
return 0;
errno = EPERM;
return -1;