freebsd-skq/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_create.c
geom_vinum_drive.c sys/geom: spelling fixes in comments. 2016-04-29 20:56:58 +00:00
geom_vinum_events.c
geom_vinum_init.c
geom_vinum_list.c
geom_vinum_move.c
geom_vinum_plex.c
geom_vinum_raid5.c
geom_vinum_raid5.h
geom_vinum_rename.c
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
geom_vinum_volume.c
geom_vinum.c
geom_vinum.h