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

Daniel Fojt deef at crater.dragonflybsd.org
Fri Jun 12 05:50:52 PDT 2020


commit 472d47f03c979eadadb15433cc5221461bf4f479
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/472d47f03c979eadadb15433cc5221461bf4f479


-- 
DragonFly BSD source repository


More information about the Commits mailing list