projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2a4f7
)
[XFS] Ensure max diosize reported is aligned with minimum diosize.
author
Nathan Scott
<nathans@sgi.com>
Wed, 11 Jan 2006 04:33:51 +0000
(15:33 +1100)
committer
Nathan Scott
<nathans@sgi.com>
Wed, 11 Jan 2006 04:33:51 +0000
(15:33 +1100)
SGI-PV: 910890
SGI-Modid: xfs-linux-melb:xfs-kern:24689a
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 71eabf4bf3978e0cd84e4c379dfcb1b42feea5dd..2b385394f28cf3b557d1e4cef85594eedcf29f63 100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/
fs/xfs/linux-2.6/xfs_ioctl.c
@@
-751,7
+751,7
@@
xfs_ioctl(
mp->m_rtdev_targp : mp->m_ddev_targp;
da.d_mem = da.d_miniosz = 1 << target->pbr_sshift;
- da.d_maxiosz = INT_MAX;
+ da.d_maxiosz = INT_MAX
& ~(da.d_miniosz - 1)
;
if (copy_to_user(arg, &da, sizeof(da)))
return -XFS_ERROR(EFAULT);