git: sbin/newfs_hammer: Don't exit if -f when a blkdev doesn't support TRIM

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Jul 15 07:39:28 PDT 2016


commit 532c8d861e52d36fbe54c06f08501942b1f0b851
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Jul 15 23:18:06 2016 +0900

    sbin/newfs_hammer: Don't exit if -f when a blkdev doesn't support TRIM
    
    With force option, exit(1) only when ioctl(IOCTLTRIM) failed.

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/532c8d861e52d36fbe54c06f08501942b1f0b851


-- 
DragonFly BSD source repository



More information about the Commits mailing list