summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_log_recover.h
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2016-11-10 10:29:29 +1100
committerDave Chinner <david@fromorbit.com>2016-11-10 10:29:29 +1100
commit8f23d318aa746ea0680637a535606637a19073db (patch)
treefd90df17569f5b11b4a672fdcb4c57a0d51c655a /fs/xfs/libxfs/xfs_log_recover.h
parentb649c42e25b7d1be86d9dade8674dec3d64138fb (diff)
parentbec9d48d7a303a5bb95c05961ff07ec7eeb59058 (diff)
Merge branch 'xfs-4.10-libxfs-cleanups' into for-next
Diffstat (limited to 'fs/xfs/libxfs/xfs_log_recover.h')
-rw-r--r--fs/xfs/libxfs/xfs_log_recover.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_log_recover.h b/fs/xfs/libxfs/xfs_log_recover.h
index 8e385f91d660..d9f65e2d5cc8 100644
--- a/fs/xfs/libxfs/xfs_log_recover.h
+++ b/fs/xfs/libxfs/xfs_log_recover.h
@@ -52,7 +52,7 @@ typedef struct xlog_recover {
struct list_head r_itemq; /* q for items */
} xlog_recover_t;
-#define ITEM_TYPE(i) (*(ushort *)(i)->ri_buf[0].i_addr)
+#define ITEM_TYPE(i) (*(unsigned short *)(i)->ri_buf[0].i_addr)
/*
* This is the number of entries in the l_buf_cancel_table used during