15 * You should have received a copy of the GNU General Public License |
15 * You should have received a copy of the GNU General Public License |
16 * along with this program; if not, write to the Free Software |
16 * along with this program; if not, write to the Free Software |
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 */ |
18 */ |
19 /* |
19 /* |
20 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
20 * Copyright 2009 Sun Microsystems, Inc. All rights reserved. |
21 * Use is subject to license terms. |
21 * Use is subject to license terms. |
22 */ |
22 */ |
23 |
23 |
24 #ifndef _SYS_FS_ZFS_ZNODE_H |
24 #ifndef _SYS_FS_ZFS_ZNODE_H |
25 #define _SYS_FS_ZFS_ZNODE_H |
25 #define _SYS_FS_ZFS_ZNODE_H |
26 |
26 |
27 #pragma ident "%Z%%M% %I% %E% SMI" |
|
28 |
|
29 #define MASTER_NODE_OBJ 1 |
27 #define MASTER_NODE_OBJ 1 |
30 #define ZFS_ROOT_OBJ "ROOT" |
28 #define ZFS_ROOT_OBJ "ROOT" |
31 #define ZPL_VERSION_STR "VERSION" |
29 #define ZPL_VERSION_STR "VERSION" |
32 |
30 |
33 #define ZPL_VERSION 3ULL |
31 #define ZPL_VERSION 4ULL |
34 |
32 |
35 #define ZFS_DIRENT_OBJ(de) BF64_GET(de, 0, 48) |
33 #define ZFS_DIRENT_OBJ(de) BF64_GET(de, 0, 48) |
36 |
34 |
37 /* |
35 /* |
38 * This is the persistent portion of the znode. It is stored |
36 * This is the persistent portion of the znode. It is stored |