git: sbin/hammer: Minor cleanup for hammer recover
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Tue Dec 6 10:42:49 PST 2016
commit c34b35620acd656ab5b68422bf26c8dca591f1b4
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Dec 6 22:14:06 2016 +0900
sbin/hammer: Minor cleanup for hammer recover
The reason for moving "info.pfs_id = dict->pfs_id;" is because
PT_FIGURE only requires strlen of "PFS%05d" (max 65535), and
dict->pfs_id never changes during path lookup by design.
Summary of changes:
sbin/hammer/cmd_recover.c | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c34b35620acd656ab5b68422bf26c8dca591f1b4
--
DragonFly BSD source repository
More information about the Commits
mailing list