opnsense-src/sys/geom/vinum
Dimitry Andric 012039fd55 Fix logic error in gvinum's gv_set_sd_state()
With clang 4.0.0, I'm getting the following warnings:

    sys/geom/vinum/geom_vinum_state.c:186:7: error: logical not is only
    applied to the left hand side of this bitwise operator
    [-Werror,-Wlogical-not-parentheses]
                    if (!flags & GV_SETSTATE_FORCE)
                        ^      ~

The logical not operator should obiously be called after masking.

Reviewed by:	mav, pfg
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D9093
2017-01-08 17:56:54 +00:00
..
geom_vinum.c Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00
geom_vinum.h - Don't return EAGAIN from gv_unload(). It was used to work around the 2010-05-10 19:12:23 +00:00
geom_vinum_create.c Remove some pointless variable assignments. 2010-01-25 16:55:30 +00:00
geom_vinum_drive.c sys/geom: spelling fixes in comments. 2016-04-29 20:56:58 +00:00
geom_vinum_events.c Prevent non-aligned reading from provider while tasting. Reject 2011-05-25 11:14:26 +00:00
geom_vinum_init.c
geom_vinum_list.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_vinum_move.c - Check flag with the bitwise operator, not the logical operator. 2010-10-01 06:12:13 +00:00
geom_vinum_plex.c
geom_vinum_raid5.c
geom_vinum_raid5.h
geom_vinum_rename.c - Check flag with the bitwise operator, not the logical operator. 2010-10-01 06:12:13 +00:00
geom_vinum_rm.c Use g_wither_provider() where applicable. 2016-09-23 21:29:40 +00:00
geom_vinum_share.c
geom_vinum_share.h
geom_vinum_state.c Fix logic error in gvinum's gv_set_sd_state() 2017-01-08 17:56:54 +00:00
geom_vinum_subr.c sys/geom: spelling fixes in comments. 2016-04-29 20:56:58 +00:00
geom_vinum_var.h - Don't return EAGAIN from gv_unload(). It was used to work around the 2010-05-10 19:12:23 +00:00
geom_vinum_volume.c