git: Properly ignore "trim" failures in swapon(8).

Daniel Fojt deef at crater.dragonflybsd.org
Thu Jun 11 11:56:05 PDT 2020


commit eeecdae69913500f880d57f02a22a49d8ea89460
Author: Daniel Fojt <df at neosystem.org>
Date:   Thu Jun 11 20:11:55 2020 +0200

    Properly ignore "trim" failures in swapon(8).
    
    When trying to "trim" a swap device that doesn't support this, just ignore
    particular ioctl() failure and continue activating the swap. This actually
    matches the behaviour described in swapon(8) manpage.
    
    Issue: https://bugs.dragonflybsd.org/issues/3207

Summary of changes:
 sbin/swapon/swapon.c | 1 -
 1 file changed, 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eeecdae69913500f880d57f02a22a49d8ea89460


-- 
DragonFly BSD source repository


More information about the Commits mailing list