From a7fd01e543a62409f1050c07b93cb05fd444d092 Mon Sep 17 00:00:00 2001 From: antona Date: Wed, 19 Oct 2005 08:13:44 +0000 Subject: [PATCH] $EA can be resident and non-resident. Fix libntfs/attrib.c:: ntfs_attr_can_be_resident() apropriately. (Anton) --- ChangeLog | 2 ++ libntfs/attrib.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 84f8699d..be3258ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/libntfs/attrib.c b/libntfs/attrib.c index 704c7312..3a8b4d26 100644 --- a/libntfs/attrib.c +++ b/libntfs/attrib.c @@ -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;