aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/fs
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-01-21 17:07:15 +0100
committerBrian Behlendorf <[email protected]>2022-01-26 11:38:52 -0800
commit7ada752a934f79d87fb9ef998455f26fd07f59a7 (patch)
treefadcb89e9710da5b7ad2d5b6f26c94eb1ca96d50 /include/sys/fs
parenta3fecf4f1059f4afcead0e7a502ffe8babb1e39c (diff)
Clean up CSTYLEDs
69 CSTYLED BEGINs remain, appx. 30 of which can be removed if cstyle(1) had a useful policy regarding CALL(ARG1, ARG2, ARG3); above 2 lines. As it stands, it spits out *both* sysctl_os.c: 385: continuation line should be indented by 4 spaces sysctl_os.c: 385: indent by spaces instead of tabs which is very cool Another >10 could be fixed by removing "ulong" &al. handling. I don't foresee anyone actually using it intentionally (does it even exist in modern headers? why did it in the first place?). Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12993
Diffstat (limited to 'include/sys/fs')
-rw-r--r--include/sys/fs/zfs.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index 6bc82198d..213e36787 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -1185,11 +1185,9 @@ typedef struct vdev_stat {
uint64_t vs_noalloc; /* allocations halted? */
} vdev_stat_t;
-/* BEGIN CSTYLED */
#define VDEV_STAT_VALID(field, uint64_t_field_count) \
- ((uint64_t_field_count * sizeof (uint64_t)) >= \
- (offsetof(vdev_stat_t, field) + sizeof (((vdev_stat_t *)NULL)->field)))
-/* END CSTYLED */
+((uint64_t_field_count * sizeof (uint64_t)) >= \
+ (offsetof(vdev_stat_t, field) + sizeof (((vdev_stat_t *)NULL)->field)))
/*
* Extended stats