eCryptfs: Fix lockdep warning in miscdev operations
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / xfs / xfs_types.h
index 65584b55607d90712533598a3d03776f822e7a88..398cf681d025d9c5de3cb189d212acd0224acb7b 100644 (file)
@@ -57,6 +57,7 @@ typedef __uint64_t __psunsigned_t;
 #endif /* __KERNEL__ */
 
 typedef __uint32_t     xfs_agblock_t;  /* blockno in alloc. group */
+typedef        __uint32_t      xfs_agino_t;    /* inode # within allocation grp */
 typedef        __uint32_t      xfs_extlen_t;   /* extent length in blocks */
 typedef        __uint32_t      xfs_agnumber_t; /* allocation group number */
 typedef __int32_t      xfs_extnum_t;   /* # of extents in a file */
@@ -101,6 +102,7 @@ typedef __uint64_t  xfs_fileoff_t;  /* block number in a file */
 typedef __int64_t      xfs_sfiloff_t;  /* signed block number in a file */
 typedef __uint64_t     xfs_filblks_t;  /* number of blocks in a file */
 
+
 /*
  * Null values for the types.
  */
@@ -120,6 +122,9 @@ typedef __uint64_t  xfs_filblks_t;  /* number of blocks in a file */
 
 #define NULLCOMMITLSN  ((xfs_lsn_t)-1)
 
+#define        NULLFSINO       ((xfs_ino_t)-1)
+#define        NULLAGINO       ((xfs_agino_t)-1)
+
 /*
  * Max values for extlen, extnum, aextnum.
  */