]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs_cnode.h
xnu-792.10.96.tar.gz
[apple/xnu.git] / bsd / hfs / hfs_cnode.h
index 64d2fd70d7d84b3a903f8bcb17c5cb1840696798..c819e792efb043f80d26cdad3dd29b3ce10b71bd 100644 (file)
@@ -94,7 +94,7 @@ struct cnode {
        u_long                  c_childhint;    /* catalog hint for children */
        struct cat_desc         c_desc;         /* cnode's descriptor */
        struct cat_attr         c_attr;         /* cnode's attributes */
-       SLIST_HEAD(hfs_hinthead, directoryhint) c_hintlist;  /* directory hint list */
+       TAILQ_HEAD(hfs_hinthead, directoryhint) c_hintlist;  /* directory hint list */
        int16_t                 c_dirhinttag;   /* directory hint tag */
        union {
            int16_t     cu_dirhintcnt;          /* directory hint count */
@@ -157,6 +157,9 @@ typedef struct cnode cnode_t;
 #define C_FORCEUPDATE      0x00100  /* force the catalog entry update */
 #define C_HASXATTRS        0x00200  /* cnode has extended attributes */
 
+#define C_NEED_DATA_SETSIZE  0x01000  /* Do a ubc_setsize(0) on c_rsrc_vp after the unlock */
+#define C_NEED_RSRC_SETSIZE  0x02000  /* Do a ubc_setsize(0) on c_vp after the unlock */
+
 
 #define ZFTIMELIMIT    (5 * 60)