aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_itable.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-07-03 12:21:22 -0400
committerBen Myers <bpm@sgi.com>2012-07-22 11:46:56 -0400
commit475ee413f34165f8e6fcd7fbff3a4da1dce48c99 (patch)
treea32dadb75dbbddf45fdd989ad8f44dd0ed466368 /fs/xfs/xfs_itable.c
parent6b7a03f03a2f8b1629133e35729eba4727fae3cc (diff)
xfs: merge xfs_itobp into xfs_imap_to_bp
All callers of xfs_imap_to_bp want the dinode pointer, so let's calculate it inside xfs_imap_to_bp. Once that is done xfs_itobp becomes a fairly pointless wrapper which can be replaced with direct calls to xfs_imap_to_bp. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_itable.c')
-rw-r--r--fs/xfs/xfs_itable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_itable.c b/fs/xfs/xfs_itable.c
index eff577a9b67f..01d10a66e302 100644
--- a/fs/xfs/xfs_itable.c
+++ b/fs/xfs/xfs_itable.c
@@ -555,7 +555,7 @@ xfs_bulkstat_single(
555 555
556 /* 556 /*
557 * note that requesting valid inode numbers which are not allocated 557 * note that requesting valid inode numbers which are not allocated
558 * to inodes will most likely cause xfs_itobp to generate warning 558 * to inodes will most likely cause xfs_imap_to_bp to generate warning
559 * messages about bad magic numbers. This is ok. The fact that 559 * messages about bad magic numbers. This is ok. The fact that
560 * the inode isn't actually an inode is handled by the 560 * the inode isn't actually an inode is handled by the
561 * error check below. Done this way to make the usual case faster 561 * error check below. Done this way to make the usual case faster