2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
12 * Inode information required for MACOS servers and salvager.
17 #define BAD_IGET -1000
19 #define VICEMAGIC 0x84fa1cb6
21 #define DI_VICEP3(p) ((p)->di_vicep3)
22 #define I_VICEP3(p) ((p)->i_vicep3)
24 #define i_vicemagic i_din.di_flags
25 #define i_vicep1 i_din.di_gen
26 #define i_vicep2 i_din.di_uid
27 #define i_vicep3 i_din.di_gid
28 #define i_vicep4 i_din.di_spare[0] /* not used */
30 #define di_vicemagic di_flags
31 #define di_vicep1 di_gen
32 #define di_vicep2 di_uid
33 #define di_vicep3 di_gid
34 #define di_vicep4 di_spare[0] /* not used */
36 #define IS_VICEMAGIC(ip) ((ip)->i_vicemagic == VICEMAGIC)
37 #define IS_DVICEMAGIC(dp) ((dp)->di_vicemagic == VICEMAGIC)
39 #define CLEAR_VICEMAGIC(ip) (ip)->i_vicemagic = 0
40 #define CLEAR_DVICEMAGIC(dp) (dp)->di_vicemagic = 0
42 #endif /* _OSI_INODE_H_ */