Brian Behlendorf
7f89ae6ba0
Use local variable to read zp->z_mode
...
When accessing the zp->z_mode through the SA bulk interface we
expect that 64-bits are available to hold the result. However,
on 32-bit platforms mode_t will only be 32-bits so we cannot
pass it to SA_ADD_BULK_ATTR(). Instead a local uint64_t variable
must be used and the result assigned to zp->z_mode.
This went unnoticed on 32-bit little endian platforms because
the bytes happen to end up in the correct 32-bits. But on big
endian platforms like Sparc the zp->z_mode will always end up
set to zero.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Signed-off-by: Ned Bass <bass6@llnl.gov >
Signed-off-by: marku89 <mar42@kola.li >
Issue #1700
2014-01-09 15:50:11 -08:00
..
2014-01-07 10:33:11 -08:00
2013-09-04 16:01:24 -07:00
2013-10-31 14:57:51 -07:00
2013-11-05 13:18:26 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2014-01-07 10:33:11 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-11-14 14:28:12 -08:00
2013-12-06 09:32:43 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-12-06 09:32:43 -08:00
2013-12-18 16:46:35 -08:00
2013-01-08 10:35:43 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2013-10-31 14:58:04 -07:00
2013-12-02 14:02:46 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-10-25 13:59:40 -07:00
2013-12-18 16:46:35 -08:00
2013-09-04 16:01:24 -07:00
2013-09-25 15:44:22 -07:00
2013-12-20 13:52:33 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2013-11-05 12:23:05 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2014-01-07 10:33:11 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-09-04 16:01:24 -07:00
2013-12-18 16:46:35 -08:00
2013-10-31 14:58:04 -07:00
2012-08-27 12:01:37 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-11-05 12:17:07 -08:00
2013-12-18 16:46:35 -08:00
2013-12-06 09:32:43 -08:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-12-06 09:32:43 -08:00
2013-10-31 14:58:04 -07:00
2013-12-06 09:32:43 -08:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-11-04 10:55:25 -08:00
2013-01-29 09:28:20 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2010-08-31 13:41:58 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-06 09:30:51 -08:00
2013-12-06 09:32:43 -08:00
2013-10-30 14:51:27 -07:00
2014-01-07 09:00:26 -08:00
2013-11-23 15:08:29 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2014-01-09 15:50:11 -08:00
2013-12-18 16:46:35 -08:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-10-31 14:58:04 -07:00
2013-12-18 16:46:35 -08:00
2010-05-28 13:45:14 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2010-09-17 16:24:15 -07:00
2013-12-16 09:41:45 -08:00