diff options
Diffstat (limited to 'fs/ocfs2/ocfs2_fs.h')
-rw-r--r-- | fs/ocfs2/ocfs2_fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h index 33f1c9a8258d..723b20dac414 100644 --- a/fs/ocfs2/ocfs2_fs.h +++ b/fs/ocfs2/ocfs2_fs.h | |||
@@ -309,6 +309,7 @@ enum { | |||
309 | USER_QUOTA_SYSTEM_INODE, | 309 | USER_QUOTA_SYSTEM_INODE, |
310 | GROUP_QUOTA_SYSTEM_INODE, | 310 | GROUP_QUOTA_SYSTEM_INODE, |
311 | #define OCFS2_LAST_GLOBAL_SYSTEM_INODE GROUP_QUOTA_SYSTEM_INODE | 311 | #define OCFS2_LAST_GLOBAL_SYSTEM_INODE GROUP_QUOTA_SYSTEM_INODE |
312 | #define OCFS2_FIRST_LOCAL_SYSTEM_INODE ORPHAN_DIR_SYSTEM_INODE | ||
312 | ORPHAN_DIR_SYSTEM_INODE, | 313 | ORPHAN_DIR_SYSTEM_INODE, |
313 | EXTENT_ALLOC_SYSTEM_INODE, | 314 | EXTENT_ALLOC_SYSTEM_INODE, |
314 | INODE_ALLOC_SYSTEM_INODE, | 315 | INODE_ALLOC_SYSTEM_INODE, |
@@ -317,8 +318,12 @@ enum { | |||
317 | TRUNCATE_LOG_SYSTEM_INODE, | 318 | TRUNCATE_LOG_SYSTEM_INODE, |
318 | LOCAL_USER_QUOTA_SYSTEM_INODE, | 319 | LOCAL_USER_QUOTA_SYSTEM_INODE, |
319 | LOCAL_GROUP_QUOTA_SYSTEM_INODE, | 320 | LOCAL_GROUP_QUOTA_SYSTEM_INODE, |
321 | #define OCFS2_LAST_LOCAL_SYSTEM_INODE LOCAL_GROUP_QUOTA_SYSTEM_INODE | ||
320 | NUM_SYSTEM_INODES | 322 | NUM_SYSTEM_INODES |
321 | }; | 323 | }; |
324 | #define NUM_GLOBAL_SYSTEM_INODES OCFS2_LAST_GLOBAL_SYSTEM_INODE | ||
325 | #define NUM_LOCAL_SYSTEM_INODES \ | ||
326 | (NUM_SYSTEM_INODES - OCFS2_FIRST_LOCAL_SYSTEM_INODE) | ||
322 | 327 | ||
323 | static struct ocfs2_system_inode_info ocfs2_system_inodes[NUM_SYSTEM_INODES] = { | 328 | static struct ocfs2_system_inode_info ocfs2_system_inodes[NUM_SYSTEM_INODES] = { |
324 | /* Global system inodes (single copy) */ | 329 | /* Global system inodes (single copy) */ |