diff options
author | Christoph Hellwig <hch@lst.de> | 2015-06-22 09:43:32 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-22 09:43:32 +1000 |
commit | db9d67d6b09e5d86da0c33da0d9dcb7998653c4f (patch) | |
tree | 67646b74117d33d8f2fbe4639fed4bdef8219ae5 /fs/xfs/xfs_trans_ail.c | |
parent | 2ac56d3d4bd625450a54d4c3f9292d58f6b88232 (diff) | |
download | op-kernel-dev-db9d67d6b09e5d86da0c33da0d9dcb7998653c4f.zip op-kernel-dev-db9d67d6b09e5d86da0c33da0d9dcb7998653c4f.tar.gz |
xfs: remove __psint_t and __psunsigned_t
Replace uses of __psint_t with the proper uintptr_t and ptrdiff_t types,
and remove the defintions of __psint_t and __psunsigned_t.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trans_ail.c')
-rw-r--r-- | fs/xfs/xfs_trans_ail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_trans_ail.c b/fs/xfs/xfs_trans_ail.c index 573aefb..1098cf4 100644 --- a/fs/xfs/xfs_trans_ail.c +++ b/fs/xfs/xfs_trans_ail.c @@ -159,7 +159,7 @@ xfs_trans_ail_cursor_next( { struct xfs_log_item *lip = cur->item; - if ((__psint_t)lip & 1) + if ((uintptr_t)lip & 1) lip = xfs_ail_min(ailp); if (lip) cur->item = xfs_ail_next(ailp, lip); @@ -196,7 +196,7 @@ xfs_trans_ail_cursor_clear( list_for_each_entry(cur, &ailp->xa_cursors, list) { if (cur->item == lip) cur->item = (struct xfs_log_item *) - ((__psint_t)cur->item | 1); + ((uintptr_t)cur->item | 1); } } @@ -287,7 +287,7 @@ xfs_ail_splice( * find the place in the AIL where the items belong. */ lip = cur ? cur->item : NULL; - if (!lip || (__psint_t) lip & 1) + if (!lip || (uintptr_t)lip & 1) lip = __xfs_trans_ail_cursor_last(ailp, lsn); /* |