[Ocfs2-tools-devel] [PATCH 02/44] libocfs2: Swap i_refcount_loc.
Tao Ma
tao.ma at oracle.com
Mon Dec 28 01:00:47 PST 2009
From: Joel Becker <joel.becker at oracle.com>
Add Swap for i_refcount_loc.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
libocfs2/inode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libocfs2/inode.c b/libocfs2/inode.c
index 1abda69..55abdcd 100644
--- a/libocfs2/inode.c
+++ b/libocfs2/inode.c
@@ -193,6 +193,7 @@ static void ocfs2_swap_inode_first(struct ocfs2_dinode *di)
di->i_orphaned_slot = bswap_16(di->i_orphaned_slot);
di->i_dyn_features = bswap_16(di->i_dyn_features);
di->i_xattr_loc = bswap_64(di->i_xattr_loc);
+ di->i_refcount_loc = bswap_64(di->i_refcount_loc);
}
static int has_extents(struct ocfs2_dinode *di)
--
1.5.5
More information about the Ocfs2-tools-devel
mailing list