diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-10 12:52:45 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-10-11 22:15:09 -0400 |
commit | 38f23232449c9d2c0bc8e9541cb8ab08b7c2b9ce (patch) | |
tree | 2713a5b8d1e42ef1a12047d839e4247381b95256 /fs/xfs/xfs_da_btree.c | |
parent | 5fde0326ddb1472ef31034c8ed952a19d4679191 (diff) |
xfs: remove XFS_BUF_SET_VTYPE and XFS_BUF_SET_VTYPE_REF
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 46c8aa2740da..77c74257c2a3 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c | |||
@@ -2053,13 +2053,10 @@ xfs_da_do_buf( | |||
2053 | if (!bp) | 2053 | if (!bp) |
2054 | continue; | 2054 | continue; |
2055 | if (caller == 1) { | 2055 | if (caller == 1) { |
2056 | if (whichfork == XFS_ATTR_FORK) { | 2056 | if (whichfork == XFS_ATTR_FORK) |
2057 | XFS_BUF_SET_VTYPE_REF(bp, B_FS_ATTR_BTREE, | 2057 | xfs_buf_set_ref(bp, XFS_ATTR_BTREE_REF); |
2058 | XFS_ATTR_BTREE_REF); | 2058 | else |
2059 | } else { | 2059 | xfs_buf_set_ref(bp, XFS_DIR_BTREE_REF); |
2060 | XFS_BUF_SET_VTYPE_REF(bp, B_FS_DIR_BTREE, | ||
2061 | XFS_DIR_BTREE_REF); | ||
2062 | } | ||
2063 | } | 2060 | } |
2064 | if (bplist) { | 2061 | if (bplist) { |
2065 | bplist[nbplist++] = bp; | 2062 | bplist[nbplist++] = bp; |