git: kernel/vinum: Fix the position of VINUM_LABEL ioctl handling.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Feb 16 01:30:25 PST 2017


commit 2c995f40849b20e79621e20576e89e785a0d92a7
Author: Sascha Wildner <saw at online.de>
Date:   Thu Feb 16 10:29:00 2017 +0100

    kernel/vinum: Fix the position of VINUM_LABEL ioctl handling.
    
    This was touched in ca6d9fb71787f9d013cb789ad2f41d6fc33fb38e back in
    2007, but slightly wrong, because the case was moved into the outer
    switch() which doesn't actually handle ioctls, so this case was never
    hit there.
    
    With this commit, all of clang's -Wswitch warnings in the kernel build
    are fixed.

Summary of changes:
 sys/dev/raid/vinum/vinumioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2c995f40849b20e79621e20576e89e785a0d92a7


-- 
DragonFly BSD source repository


More information about the Commits mailing list