[PATCH 17/17] NTFS: Document extended attribute ($EA) NEED_EA flag.

Anton Altaparmakov
2005-10-31T14:42:39Z

NTFS: Document extended attribute ($EA) NEED_EA flag. (Based on libntfs
patch by Yura Pakhuchiy.)

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>

---

fs/ntfs/ChangeLog | 2 ++
fs/ntfs/layout.h | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)

applies-to: 27468ef642b1d6e7a8b3c7f7f9a842e5ad92456e
c9c2009a4e915db17f32701d1f0535b400e61b58
diff --git a/fs/ntfs/ChangeLog b/fs/ntfs/ChangeLog
index dea7424..50a7749 100644
--- a/fs/ntfs/ChangeLog
+++ b/fs/ntfs/ChangeLog
@@ -78,6 +78,8 @@ ToDo/Notes:
- $EA attributes can be both resident and non-resident.
- Use %z for size_t to fix compilation warnings. (Andrew Morton)
- Fix compilation warnings with gcc-4.0.2 on SUSE 10.0.
+ - Document extended attribute ($EA) NEED_EA flag. (Based on libntfs
+ patch by Yura Pakhuchiy.)

2.1.24 - Lots of bug fixes and support more clean journal states.

diff --git a/fs/ntfs/layout.h b/fs/ntfs/layout.h
index 71b25da..f5678d5 100644
--- a/fs/ntfs/layout.h
+++ b/fs/ntfs/layout.h
@@ -2374,7 +2374,9 @@ typedef struct {
* Extended attribute flags (8-bit).
*/
enum {
- NEED_EA = 0x80
+ NEED_EA = 0x80 /* If set the file to which the EA belongs
+ cannot be interpreted without understanding
+ the associates extended attributes. */
} __attribute__ ((__packed__));

typedef u8 EA_FLAGS;
---
0.99.9