git: sbin/hammer2: Make "pfs-delete" error message handle ENOENT case

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Oct 2 10:03:10 PDT 2020


commit 869938117454ade335bcd5a7553ba64a3ca229e9
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Fri Oct 2 02:07:25 2020 +0900

    sbin/hammer2: Make "pfs-delete" error message handle ENOENT case
    
    If all attempts failed before ioctl(HAMMER2IOC_PFS_DELETE) without
    valid used_fd, print not-found message rather than just FAILED.

Summary of changes:
 sbin/hammer2/cmd_pfs.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/869938117454ade335bcd5a7553ba64a3ca229e9


-- 
DragonFly BSD source repository


More information about the Commits mailing list