diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c index 2b385394f28c..7ad7b680e996 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/fs/xfs/linux-2.6/xfs_ioctl.c | |||
@@ -750,7 +750,7 @@ xfs_ioctl( | |||
750 | (ip->i_d.di_flags & XFS_DIFLAG_REALTIME) ? | 750 | (ip->i_d.di_flags & XFS_DIFLAG_REALTIME) ? |
751 | mp->m_rtdev_targp : mp->m_ddev_targp; | 751 | mp->m_rtdev_targp : mp->m_ddev_targp; |
752 | 752 | ||
753 | da.d_mem = da.d_miniosz = 1 << target->pbr_sshift; | 753 | da.d_mem = da.d_miniosz = 1 << target->bt_sshift; |
754 | da.d_maxiosz = INT_MAX & ~(da.d_miniosz - 1); | 754 | da.d_maxiosz = INT_MAX & ~(da.d_miniosz - 1); |
755 | 755 | ||
756 | if (copy_to_user(arg, &da, sizeof(da))) | 756 | if (copy_to_user(arg, &da, sizeof(da))) |