commit 3585f0f18f04cf92441b49cf52b1cf36aa8bcc90
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 03:24:43 2015 +0900
sbin/hammer: Remove redundant exit(3)
- snapshot_usage(1); does exit(1); as the comment implies.
Summary of changes:
sbin/hammer/cmd_snapshot.c
commit 64df1e745ba368af5264cc66bdc028d01e46feda
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 19:51:41 2015 +0900
sbin/hammer: Remove irrelevant if(S_ISLNK()) case
- Remove if(S_ISLNK()) case for hammer snap since it never matches.
- Also note it
commit a81b0b4410c17439a1e103cf8778622856c53bc3
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 03:42:43 2015 +0900
sys/vfs/hammer: Fix off-by-one for snapshot index
- The index starts from 0 so these ioctls should test 'index = count'.
Summary of changes:
commit f111635e8fa00098f1e6128648b194b7338e62c9
Author: Tomohiro Kusumi kusumi.tomoh...@gmail.com
Date: Sun Apr 19 19:17:36 2015 +0900
sbin/hammer: Add missing snapshots related free(3)
- Call free(3) after asprintf(3)
Summary of changes:
sbin/hammer/cmd_snapshot.c | 11