dm-crypt: use __bio_add_page to add single page to clone bio
[linux-block.git] / fs / xfs / xfs_icache.h
index 6cd180721659b28f9aa122f8f8bc03296ac92b3e..87910191a9ddc03a6a8e256824dc5349344fe410 100644 (file)
@@ -34,10 +34,13 @@ struct xfs_icwalk {
 /*
  * Flags for xfs_iget()
  */
-#define XFS_IGET_CREATE                0x1
-#define XFS_IGET_UNTRUSTED     0x2
-#define XFS_IGET_DONTCACHE     0x4
-#define XFS_IGET_INCORE                0x8     /* don't read from disk or reinit */
+#define XFS_IGET_CREATE                (1U << 0)
+#define XFS_IGET_UNTRUSTED     (1U << 1)
+#define XFS_IGET_DONTCACHE     (1U << 2)
+/* don't read from disk or reinit */
+#define XFS_IGET_INCORE                (1U << 3)
+/* Return -EAGAIN immediately if the inode is unavailable. */
+#define XFS_IGET_NORETRY       (1U << 4)
 
 int xfs_iget(struct xfs_mount *mp, struct xfs_trans *tp, xfs_ino_t ino,
             uint flags, uint lock_flags, xfs_inode_t **ipp);