xfs
[Top] [All Lists]

Re: [PATCH 28/49] xfs: move unrealted definitions out of xfs_inode.h

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 28/49] xfs: move unrealted definitions out of xfs_inode.h
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Mon, 05 Aug 2013 16:57:11 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1374216324-8781-29-git-send-email-david@xxxxxxxxxxxxx>
References: <1374216324-8781-1-git-send-email-david@xxxxxxxxxxxxx> <1374216324-8781-29-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 07/19/13 01:45, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>
---


diff --git a/include/xfs_trans.h b/include/xfs_trans.h
index e504103..37aca08 100644
--- a/include/xfs_trans.h
+++ b/include/xfs_trans.h
@@ -89,6 +89,13 @@ struct xfs_log_item_desc {
  #define       XFS_ATTR_BTREE_REF      1
  #define       XFS_DQUOT_REF           1

+/*
+ * Flags for xfs_trans_ichgtime().
+ */
+#define        XFS_ICHGTIME_MOD        0x1     /* data fork modification 
timestamp */
+#define        XFS_ICHGTIME_CHG        0x2     /* inode field change timestamp 
*/
+#define        XFS_ICHGTIME_CREATE     0x4     /* inode create timestamp */
+

in the kernel patch 13/49 these entries go into xfs_log_format.h

  #ifdef __KERNEL__

  struct xfs_buf;
diff --git a/libxfs/xfs.h b/libxfs/xfs.h
index 7149c09..1a01c61 100644
--- a/libxfs/xfs.h
+++ b/libxfs/xfs.h
@@ -68,6 +68,9 @@ typedef __uint32_t            inst_t;         /* an 
instruction */

  #define IHOLD(ip)                     ((void) 0)

+#define XFS_IGET_CREATE                        0x1
+#define XFS_IGET_UNTRUSTED             0x2
+
  /* stop unused var warnings by assigning mp to itself */
  #define XFS_CORRUPTION_ERROR(e,l,mp,m)        do { \
        (mp) = (mp); \

in the kernel patch 13/49 these entries go into xfs_icache.h

--Mark.

<Prev in Thread] Current Thread [Next in Thread>