summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ialloc.h
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2015-06-23 00:49:01 +0200
committerDave Chinner <david@fromorbit.com>2015-06-23 00:49:01 +0200
commitde50e16ffabf64d30ca9372f39dc855a7553e305 (patch)
tree08b926c00c75fde21823ee8279ce1473546d1356 /fs/xfs/libxfs/xfs_ialloc.h
parentMerge branch 'xfs-freelist-cleanup' into for-next (diff)
parentxfs: don't truncate attribute extents if no extents exist (diff)
downloadlinux-de50e16ffabf64d30ca9372f39dc855a7553e305.tar.xz
linux-de50e16ffabf64d30ca9372f39dc855a7553e305.zip
Merge branch 'xfs-misc-fixes-for-4.2-3' into for-next
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.h')
-rw-r--r--fs/xfs/libxfs/xfs_ialloc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc.h b/fs/xfs/libxfs/xfs_ialloc.h
index 12401fea7bff..6e450df2979b 100644
--- a/fs/xfs/libxfs/xfs_ialloc.h
+++ b/fs/xfs/libxfs/xfs_ialloc.h
@@ -51,8 +51,7 @@ xfs_icluster_size_fsb(
static inline struct xfs_dinode *
xfs_make_iptr(struct xfs_mount *mp, struct xfs_buf *b, int o)
{
- return (struct xfs_dinode *)
- (xfs_buf_offset(b, o << (mp)->m_sb.sb_inodelog));
+ return xfs_buf_offset(b, o << (mp)->m_sb.sb_inodelog);
}
/*