commit d6cfa63feddb7be6edb1d190c41e1729e54d244e Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Thu Oct 12 22:48:11 2017 +0300
sbin/newfs_hammer2: Check S_ISREG() The comment says as follows, so check S_ISREG(). /* Allow the formatting of regular files as HAMMER2 volumes */ This is also what the same function in HAMMER1 does. Summary of changes: sbin/newfs_hammer2/newfs_hammer2.c | 2 ++ 1 file changed, 2 insertions(+) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d6cfa63feddb7be6edb1d190c41e1729e54d244e -- DragonFly BSD source repository