projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b04ed21
)
[XFS] Make d_maxiosz report the real maximum (INT_MAX) so we dont
author
Nathan Scott
<nathans@sgi.com>
Wed, 11 Jan 2006 04:32:30 +0000
(15:32 +1100)
committer
Nathan Scott
<nathans@sgi.com>
Wed, 11 Jan 2006 04:32:30 +0000
(15:32 +1100)
incorrectly limit people using this interface to size IO buffers.
SGI-PV: 910890
SGI-Modid: xfs-linux-melb:xfs-kern:24657a
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_ioctl.c
b/fs/xfs/linux-2.6/xfs_ioctl.c
index f98c5be3dfe7072689bb766d404e1a337fcd6dc4..71eabf4bf3978e0cd84e4c379dfcb1b42feea5dd 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/
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);