diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-06-17 13:25:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-06-17 13:25:08 +0000 |
commit | 59223edaa18759982db0a8aced0e77457d10c68e (patch) | |
tree | 89354903b01fa0a447bffeefe00df3044495db2e /fs/hfs/hfs.h | |
parent | db7d4daea91e105e3859cf461d7e53b9b77454b2 (diff) |
Merge with Linux 2.3.6. Sorry, this isn't tested on silicon, I don't
have a MIPS box at hand.
Diffstat (limited to 'fs/hfs/hfs.h')
-rw-r--r-- | fs/hfs/hfs.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/fs/hfs/hfs.h b/fs/hfs/hfs.h index 824e02be5..07e61f0de 100644 --- a/fs/hfs/hfs.h +++ b/fs/hfs/hfs.h @@ -80,9 +80,24 @@ #define HFS_FK_RSRC 0xFF /* bits in hfs_fil_entry.Flags */ -#define HFS_FIL_LOCK 0x01 -#define HFS_FIL_THD 0x02 -#define HFS_FIL_USED 0x80 +#define HFS_FIL_LOCK 0x01 /* locked */ +#define HFS_FIL_THD 0x02 /* file thread */ +#define HFS_FIL_DOPEN 0x04 /* data fork open */ +#define HFS_FIL_ROPEN 0x08 /* resource fork open */ +#define HFS_FIL_DIR 0x10 /* directory (always clear) */ +#define HFS_FIL_RSRV1 0x20 /* reserved */ +#define HFS_FIL_NOCOPY 0x40 /* copy-protected file */ +#define HFS_FIL_USED 0x80 /* open */ + +/* bits in hfs_dir_entry.Flags. dirflags is 16 bits. */ +#define HFS_DIR_LOCK 0x01 /* locked */ +#define HFS_DIR_THD 0x02 /* directory thread */ +#define HFS_DIR_INEXPFOLDER 0x04 /* in a shared area */ +#define HFS_DIR_MOUNTED 0x08 /* mounted */ +#define HFS_DIR_DIR 0x10 /* directory (always set) */ +#define HFS_DIR_EXPFOLDER 0x20 /* share point */ +#define HFS_DIR_RSRV1 0x40 /* reserved */ +#define HFS_DIR_RSRV2 0x80 /* reserved */ /* Access types used when requesting access to a B-node */ #define HFS_LOCK_NONE 0x0000 /* Illegal */ |