[Ocfs2-devel] a puzzle about is_global_system_inode function
    Larry Chen 
    lchen at suse.com
       
    Tue Oct 24 03:39:36 PDT 2017
    
    
  
Hi all,
Function is_global_system_inode checks whether the type is
in the range [OCFS2_FIRST_ONLINE_SYSTEM_INODE , 
OCFS2_LAST_GLOBAL_SYSTEM_INODE ].
But why the range does not include GLOBAL_INODE_ALLOC_SYSTEM_INODE ??
enum {
       ....
        GLOBAL_INODE_ALLOC_SYSTEM_INODE,
         SLOT_MAP_SYSTEM_INODE,
#define OCFS2_FIRST_ONLINE_SYSTEM_INODE SLOT_MAP_SYSTEM_INODE
         HEARTBEAT_SYSTEM_INODE,
         GLOBAL_BITMAP_SYSTEM_INODE,
         USER_QUOTA_SYSTEM_INODE,
         GROUP_QUOTA_SYSTEM_INODE,
#define OCFS2_LAST_GLOBAL_SYSTEM_INODE GROUP_QUOTA_SYSTEM_INODE
     ....
}
Thanks
Larry Chen
    
    
More information about the Ocfs2-devel
mailing list