xfs
[Top] [All Lists]

[PATCH 5/7] xfs: endianess annotations for xfs_bmbt_ptr_t/xfs_bmdr_ptr_t

To: nathans@xxxxxxx
Subject: [PATCH 5/7] xfs: endianess annotations for xfs_bmbt_ptr_t/xfs_bmdr_ptr_t
From: Christoph Hellwig <hch@xxxxxx>
Date: Mon, 10 Jul 2006 19:04:25 +0200
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
There were already handled correctly, so only switch to __be64.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfs-2.6.x/fs/xfs/xfs_bmap_btree.h
===================================================================
--- xfs-2.6.x.orig/fs/xfs/xfs_bmap_btree.h      2006-02-18 15:45:01.000000000 
+0100
+++ xfs-2.6.x/fs/xfs/xfs_bmap_btree.h   2006-02-21 20:44:57.000000000 +0100
@@ -168,8 +168,10 @@
        xfs_dfiloff_t   br_startoff;    /* starting file offset */
 } xfs_bmbt_key_t, xfs_bmdr_key_t;
 
-typedef xfs_dfsbno_t xfs_bmbt_ptr_t, xfs_bmdr_ptr_t;   /* btree pointer type */
-                                       /* btree block header type */
+/* btree pointer type */
+typedef __be64 xfs_bmbt_ptr_t, xfs_bmdr_ptr_t;
+
+/* btree block header type */
 typedef struct xfs_btree_lblock xfs_bmbt_block_t;
 
 #define XFS_BUF_TO_BMBT_BLOCK(bp)      ((xfs_bmbt_block_t *)XFS_BUF_PTR(bp))


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH 5/7] xfs: endianess annotations for xfs_bmbt_ptr_t/xfs_bmdr_ptr_t, Christoph Hellwig <=