diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 36dadc4ff22c..e0519529c26c 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -113,7 +113,7 @@ xfs_find_bdev_for_inode( | |||
113 | { | 113 | { |
114 | struct xfs_mount *mp = ip->i_mount; | 114 | struct xfs_mount *mp = ip->i_mount; |
115 | 115 | ||
116 | if (ip->i_d.di_flags & XFS_DIFLAG_REALTIME) | 116 | if (XFS_IS_REALTIME_INODE(ip)) |
117 | return mp->m_rtdev_targp->bt_bdev; | 117 | return mp->m_rtdev_targp->bt_bdev; |
118 | else | 118 | else |
119 | return mp->m_ddev_targp->bt_bdev; | 119 | return mp->m_ddev_targp->bt_bdev; |