diff options
author | Brian Behlendorf <[email protected]> | 2014-01-08 00:17:24 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-01-09 15:50:23 -0800 |
commit | b585bc4afaf37b744acba6be87f5909b4564b845 (patch) | |
tree | 7e8b270cb5ec3c94ed98576e5beab7692d2c147c /module/zfs/zfs_ctldir.c | |
parent | aa0218d6a12814fac50b287214f9f3b0b99e11b1 (diff) |
Fix zfs_getattr_fast types
On Sparc sp->blksize will be a 64-bit value which is then cast
incorrectly to a 32-bit value. For big endian systems this
results in an incorrect value for sp->blksize. To resolve the
problem local variables of the correct size are used and then
assigned to sp->blksize.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ned Bass <[email protected]>
Signed-off-by: marku89 <[email protected]>
Issue #1700
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
0 files changed, 0 insertions, 0 deletions