HomeFreeBSD

umtx: shm: 'ushm_refcnt > 0' => 'ushm_refcnt != 0'

Description

umtx: shm: 'ushm_refcnt > 0' => 'ushm_refcnt != 0'

'ushm_refcnt' is unsigned. Don't leave the impression it isn't.

No functional change (intended).

Reviewed by: kib
Approved by: emaste (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46126

(cherry picked from commit c75a18905e308f69b01f19c3d7d613883a008e79)
(cherry picked from commit 4938f554469bc81783998143968ec3eba2a43def)
(cherry picked from commit a73a70472c47877d57d090ef77ae503fe75e9f41)

Approved by: so
Approved by: re (cperciva)

Details

Provenance
olceAuthored on Wed, Sep 4, 2:38 PM
emasteCommitted on Wed, Sep 4, 7:16 PM
Reviewer
kib
Differential Revision
Restricted Differential Revision
Parents
rG6000de096612: umtx: shm: Prevent reference counting overflow
Branches
Unknown
Tags
Unknown