From 3284f26318f96e6b7ae52087b2fc07f7fb81f2df Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Mon, 11 Aug 2003 20:25:53 -0500 Subject: [PATCH] [XFS] Use xfs_dev_t size rather than dev_t size in xfs_attr_fork initialization SGI Modid: 2.5.x-xfs:slinx:155551a --- fs/xfs/xfs_bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c index c3ee6e981af67..c2568de8a17d0 100644 --- a/fs/xfs/xfs_bmap.c +++ b/fs/xfs/xfs_bmap.c @@ -3810,7 +3810,7 @@ xfs_bmap_add_attrfork( xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE); switch (ip->i_d.di_format) { case XFS_DINODE_FMT_DEV: - ip->i_d.di_forkoff = roundup(sizeof(dev_t), 8) >> 3; + ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; break; case XFS_DINODE_FMT_UUID: ip->i_d.di_forkoff = roundup(sizeof(uuid_t), 8) >> 3; -- 2.53.0