]> granicus.if.org Git - zfs/commit
cstyle: Resolve C style issues
authorMichael Kjorling <michael@kjorling.se>
Fri, 1 Nov 2013 19:26:11 +0000 (20:26 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 19 Dec 2013 00:46:35 +0000 (16:46 -0800)
commitd1d7e2689db9e03f11c069ebc9f1ba12829e5dac
tree75b9a2b23334d5f673fb31f142f74146d351865c
parent8ffef572ed2ba97e0c2d6a8aa2240012e611dc6f
cstyle: Resolve C style issues

The vast majority of these changes are in Linux specific code.
They are the result of not having an automated style checker to
validate the code when it was originally written.  Others were
caused when the common code was slightly adjusted for Linux.

This patch contains no functional changes.  It only refreshes
the code to conform to style guide.

Everyone submitting patches for inclusion upstream should now
run 'make checkstyle' and resolve any warning prior to opening
a pull request.  The automated builders have been updated to
fail a build if when 'make checkstyle' detects an issue.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1821
165 files changed:
cmd/mount_zfs/mount_zfs.c
cmd/zdb/zdb.c
cmd/zfs/zfs_iter.c
cmd/zfs/zfs_main.c
cmd/zpios/zpios.h
cmd/zpios/zpios_main.c
cmd/zpios/zpios_util.c
cmd/zpool/zpool_main.c
cmd/zpool/zpool_util.h
cmd/zpool/zpool_vdev.c
cmd/ztest/ztest.c
cmd/zvol_id/zvol_id_main.c
include/linux/blkdev_compat.h
include/linux/dcache_compat.h
include/linux/vfs_compat.h
include/linux/xattr_compat.h
include/sys/dmu_tx.h
include/sys/fm/fs/zfs.h
include/sys/fm/util.h
include/sys/fs/zfs.h
include/sys/vdev_disk.h
include/sys/zfs_context.h
include/sys/zfs_debug.h
include/sys/zfs_delay.h
include/sys/zfs_ioctl.h
include/sys/zfs_sa.h
include/sys/zfs_vfsops.h
include/sys/zfs_znode.h
include/sys/zil.h
include/sys/zil_impl.h
include/sys/zio.h
include/sys/zpl.h
include/zpios-ctl.h
include/zpios-internal.h
lib/libefi/rdwr_efi.c
lib/libshare/libshare.c
lib/libshare/libshare_impl.h
lib/libshare/nfs.c
lib/libshare/smb.c
lib/libshare/smb.h
lib/libspl/asm-generic/atomic.c
lib/libspl/getexecname.c
lib/libspl/gethrestime.c
lib/libspl/gethrtime.c
lib/libspl/getmntany.c
lib/libspl/include/assert.h
lib/libspl/include/devid.h
lib/libspl/include/libdevinfo.h
lib/libspl/include/libgen.h
lib/libspl/include/libshare.h
lib/libspl/include/limits.h
lib/libspl/include/locale.h
lib/libspl/include/note.h
lib/libspl/include/priv.h
lib/libspl/include/rpc/types.h
lib/libspl/include/rpc/xdr.h
lib/libspl/include/stdio.h
lib/libspl/include/stdlib.h
lib/libspl/include/string.h
lib/libspl/include/strings.h
lib/libspl/include/synch.h
lib/libspl/include/sys/bitmap.h
lib/libspl/include/sys/callb.h
lib/libspl/include/sys/cmn_err.h
lib/libspl/include/sys/compress.h
lib/libspl/include/sys/cred.h
lib/libspl/include/sys/debug.h
lib/libspl/include/sys/feature_tests.h
lib/libspl/include/sys/file.h
lib/libspl/include/sys/frame.h
lib/libspl/include/sys/int_limits.h
lib/libspl/include/sys/int_types.h
lib/libspl/include/sys/inttypes.h
lib/libspl/include/sys/isa_defs.h
lib/libspl/include/sys/kmem.h
lib/libspl/include/sys/mkdev.h
lib/libspl/include/sys/mnttab.h
lib/libspl/include/sys/mount.h
lib/libspl/include/sys/param.h
lib/libspl/include/sys/priv.h
lib/libspl/include/sys/processor.h
lib/libspl/include/sys/sdt.h
lib/libspl/include/sys/stack.h
lib/libspl/include/sys/stat.h
lib/libspl/include/sys/stropts.h
lib/libspl/include/sys/sysevent.h
lib/libspl/include/sys/sysmacros.h
lib/libspl/include/sys/systeminfo.h
lib/libspl/include/sys/systm.h
lib/libspl/include/sys/time.h
lib/libspl/include/sys/types.h
lib/libspl/include/sys/uio.h
lib/libspl/include/sys/utsname.h
lib/libspl/include/sys/va_list.h
lib/libspl/include/sys/varargs.h
lib/libspl/include/sys/vnode.h
lib/libspl/include/sys/zone.h
lib/libspl/include/thread.h
lib/libspl/include/tzfile.h
lib/libspl/include/ucred.h
lib/libspl/include/umem.h
lib/libspl/include/unistd.h
lib/libspl/include/util/sscanf.h
lib/libspl/include/zone.h
lib/libspl/zone.c
lib/libzfs/libzfs_fru.c
lib/libzfs/libzfs_import.c
lib/libzfs/libzfs_mount.c
lib/libzfs/libzfs_pool.c
lib/libzfs/libzfs_util.c
lib/libzpool/kernel.c
lib/libzpool/taskq.c
module/nvpair/nvpair.c
module/nvpair/nvpair_alloc_spl.c
module/unicode/u8_textprep.c
module/zcommon/zfs_uio.c
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dbuf_stats.c
module/zfs/ddt.c
module/zfs/ddt_zap.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dmu_zfetch.c
module/zfs/dsl_dataset.c
module/zfs/dsl_deleg.c
module/zfs/dsl_destroy.c
module/zfs/dsl_dir.c
module/zfs/dsl_pool.c
module/zfs/dsl_scan.c
module/zfs/fm.c
module/zfs/gzip.c
module/zfs/lz4.c
module/zfs/lzjb.c
module/zfs/metaslab.c
module/zfs/sa.c
module/zfs/spa.c
module/zfs/spa_history.c
module/zfs/spa_misc.c
module/zfs/spa_stats.c
module/zfs/txg.c
module/zfs/vdev_cache.c
module/zfs/vdev_disk.c
module/zfs/vdev_label.c
module/zfs/vdev_queue.c
module/zfs/zap_micro.c
module/zfs/zfeature.c
module/zfs/zfs_acl.c
module/zfs/zfs_ctldir.c
module/zfs/zfs_debug.c
module/zfs/zfs_ioctl.c
module/zfs/zfs_rlock.c
module/zfs/zfs_sa.c
module/zfs/zfs_vfsops.c
module/zfs/zfs_vnops.c
module/zfs/zfs_znode.c
module/zfs/zil.c
module/zfs/zio.c
module/zfs/zpl_ctldir.c
module/zfs/zpl_export.c
module/zfs/zpl_file.c
module/zfs/zpl_inode.c
module/zfs/zpl_super.c
module/zfs/zpl_xattr.c
module/zpios/pios.c