git: sbin/hammer: Check S_ISREG() if not block device
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Tue Apr 11 15:37:41 PDT 2017
commit 586115aa05cd0ed9b4aca7bbafa624b775c27347
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Apr 11 22:23:07 2017 +0300
sbin/hammer: Check S_ISREG() if not block device
ioctl(DIOCGPART) failure doesn't mean path is a regfile.
Summary of changes:
sbin/hammer/ondisk.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/586115aa05cd0ed9b4aca7bbafa624b775c27347
--
DragonFly BSD source repository
More information about the Commits
mailing list