mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
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 <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12993
This commit is contained in:
@@ -964,16 +964,14 @@ spa_stats_destroy(spa_t *spa)
|
||||
spa_mmp_history_destroy(spa);
|
||||
}
|
||||
|
||||
/* BEGIN CSTYLED */
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, read_history, INT, ZMOD_RW,
|
||||
"Historical statistics for the last N reads");
|
||||
"Historical statistics for the last N reads");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs, zfs_, read_history_hits, INT, ZMOD_RW,
|
||||
"Include cache hits in read history");
|
||||
"Include cache hits in read history");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_txg, zfs_txg_, history, INT, ZMOD_RW,
|
||||
"Historical statistics for the last N txgs");
|
||||
"Historical statistics for the last N txgs");
|
||||
|
||||
ZFS_MODULE_PARAM(zfs_multihost, zfs_multihost_, history, INT, ZMOD_RW,
|
||||
"Historical statistics for last N multihost writes");
|
||||
/* END CSTYLED */
|
||||
"Historical statistics for last N multihost writes");
|
||||
|
||||
Reference in New Issue
Block a user