From 1976217eeaf7812cf0642ef333c3402661b38467 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Wed, 11 Jan 2006 15:32:30 +1100 Subject: [PATCH] --- yaml --- r: 18153 b: refs/heads/master c: a255a7456d4051e804fd6efff9a7c0f43483a7fc h: refs/heads/master i: 18151: cde94e219aa8ebf85d1f2022095b807191196ba8 v: v3 --- [refs] | 2 +- trunk/fs/xfs/linux-2.6/xfs_ioctl.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f7f65ec5f23a..10a9d8cf84ae 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b04ed21a1fdbfe48ee0738519a4d1af09589dfea +refs/heads/master: a255a7456d4051e804fd6efff9a7c0f43483a7fc diff --git a/trunk/fs/xfs/linux-2.6/xfs_ioctl.c b/trunk/fs/xfs/linux-2.6/xfs_ioctl.c index f98c5be3dfe7..71eabf4bf397 100644 --- a/trunk/fs/xfs/linux-2.6/xfs_ioctl.c +++ b/trunk/fs/xfs/linux-2.6/xfs_ioctl.c @@ -751,8 +751,7 @@ xfs_ioctl( mp->m_rtdev_targp : mp->m_ddev_targp; da.d_mem = da.d_miniosz = 1 << target->pbr_sshift; - /* The size dio will do in one go */ - da.d_maxiosz = 64 * PAGE_CACHE_SIZE; + da.d_maxiosz = INT_MAX; if (copy_to_user(arg, &da, sizeof(da))) return -XFS_ERROR(EFAULT);