freebsd-src/sys/geom/vinum
Dimitry Andric 3c8c79a883 MFC r311688:
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
Differential Revision:	https://reviews.freebsd.org/D9093
2017-01-11 21:01:49 +00:00
..
geom_vinum_create.c
geom_vinum_drive.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_vinum_events.c
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
geom_vinum_plex.c
geom_vinum_raid5.c
geom_vinum_raid5.h
geom_vinum_rename.c
geom_vinum_rm.c MFC r306279: Use g_wither_provider() where applicable. 2016-10-06 15:36:13 +00:00
geom_vinum_share.c
geom_vinum_share.h
geom_vinum_state.c MFC r311688: 2017-01-11 21:01:49 +00:00
geom_vinum_subr.c Include sys/sbuf.h directly. 2011-07-11 05:22:31 +00:00
geom_vinum_var.h
geom_vinum_volume.c
geom_vinum.c Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
geom_vinum.h