diff options
author | Christoph Hellwig <hch@lst.de> | 2011-07-13 07:43:49 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-07-13 07:43:49 -0400 |
commit | adadbeefb34f755a3477da51035eeeec2c1fde38 (patch) | |
tree | bb5e9b79572004667ff6cdcbff0acd5d426ee774 /fs/xfs/xfs_inode.c | |
parent | bf9d9013a2a559858efb590bf922377be9d6d969 (diff) |
xfs: remove wrappers around b_fspriv
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index d04ea6a2dfaf..34c6872b5f7b 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -1698,7 +1698,7 @@ xfs_ifree_cluster( | |||
1698 | * stale first, we will not attempt to lock them in the loop | 1698 | * stale first, we will not attempt to lock them in the loop |
1699 | * below as the XFS_ISTALE flag will be set. | 1699 | * below as the XFS_ISTALE flag will be set. |
1700 | */ | 1700 | */ |
1701 | lip = XFS_BUF_FSPRIVATE(bp, xfs_log_item_t *); | 1701 | lip = bp->b_fspriv; |
1702 | while (lip) { | 1702 | while (lip) { |
1703 | if (lip->li_type == XFS_LI_INODE) { | 1703 | if (lip->li_type == XFS_LI_INODE) { |
1704 | iip = (xfs_inode_log_item_t *)lip; | 1704 | iip = (xfs_inode_log_item_t *)lip; |
@@ -2811,7 +2811,7 @@ xfs_iflush_int( | |||
2811 | */ | 2811 | */ |
2812 | xfs_buf_attach_iodone(bp, xfs_iflush_done, &iip->ili_item); | 2812 | xfs_buf_attach_iodone(bp, xfs_iflush_done, &iip->ili_item); |
2813 | 2813 | ||
2814 | ASSERT(XFS_BUF_FSPRIVATE(bp, void *) != NULL); | 2814 | ASSERT(bp->b_fspriv != NULL); |
2815 | ASSERT(XFS_BUF_IODONE_FUNC(bp) != NULL); | 2815 | ASSERT(XFS_BUF_IODONE_FUNC(bp) != NULL); |
2816 | } else { | 2816 | } else { |
2817 | /* | 2817 | /* |