diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2011-07-22 23:39:51 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-07-25 14:57:46 -0500 |
commit | 5a52c2a581cddcb676a54a95d99cd39f5577c33b (patch) | |
tree | 085825ca21b17d566e588428fa0aa2063ba4f1a4 /fs/xfs/xfs_ialloc.c | |
parent | ed43233be910bbc8b9da3d61aa1b931843d1b44e (diff) | |
download | linux-5a52c2a581cddcb676a54a95d99cd39f5577c33b.tar.gz linux-5a52c2a581cddcb676a54a95d99cd39f5577c33b.tar.bz2 linux-5a52c2a581cddcb676a54a95d99cd39f5577c33b.zip |
xfs: Remove the macro XFS_BUF_ERROR and family
Remove the definitions and usage of the macros XFS_BUF_ERROR,
XFS_BUF_GETERROR and XFS_BUF_ISERROR.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_ialloc.c')
-rw-r--r-- | fs/xfs/xfs_ialloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/xfs_ialloc.c b/fs/xfs/xfs_ialloc.c index dd5628bd8d0b..9f24ec28283b 100644 --- a/fs/xfs/xfs_ialloc.c +++ b/fs/xfs/xfs_ialloc.c @@ -202,8 +202,7 @@ xfs_ialloc_inode_init( fbuf = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, mp->m_bsize * blks_per_cluster, XBF_LOCK); - ASSERT(fbuf); - ASSERT(!XFS_BUF_GETERROR(fbuf)); + ASSERT(!xfs_buf_geterror(fbuf)); /* * Initialize all inodes in this buffer and then log them. @@ -1486,7 +1485,7 @@ xfs_read_agi( if (error) return error; - ASSERT(*bpp && !XFS_BUF_GETERROR(*bpp)); + ASSERT(!xfs_buf_geterror(*bpp)); agi = XFS_BUF_TO_AGI(*bpp); /* |