]> granicus.if.org Git - zfs/commit
Illumos 5047 - don't use atomic_*_nv if you discard the return value
authorJosef 'Jeff' Sipek <josef.sipek@nexenta.com>
Thu, 12 Mar 2015 00:03:31 +0000 (11:03 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 12 Mar 2015 22:40:33 +0000 (15:40 -0700)
commit73ad4a9f3cfc2e830de45c2a8be2823d01ab07a6
treed42358f809ad90e6ae07390e24916531573082b3
parent7f3e4662832269b687ff20dafc6a33f8e1d28912
Illumos 5047 - don't use atomic_*_nv if you discard the return value

5047 don't use atomic_*_nv if you discard the return value
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Jason King <jason.brian.king@gmail.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>

References:
  https://www.illumos.org/issues/5047
  https://github.com/illumos/illumos-gate/commit/640c167

Porting Notes:

Several hunks from the original patch where not specific to ZFS
and thus were dropped.

Ported-by: Chris Dunlop <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Issue #3172
module/zfs/dbuf.c
module/zfs/dmu.c