]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: Remove typedef and update cfs_hash_lock union
authorLisa Nguyen <lisa@xenapiadmin.com>
Mon, 21 Oct 2013 04:33:20 +0000 (21:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Oct 2013 04:48:15 +0000 (05:48 +0100)
commit29323b3e6bc65d95e2ef5add5db332fcb41ff2e6
tree73421310887fdd04dcb6b46f464af49bcff51ad5
parentbcc3b70425b8be702fda069e3e3ed066a0e37de2
staging: lustre: Remove typedef and update cfs_hash_lock union

Remove typedef keyword and rename the cfs_hash_lock_t
union to cfs_hash_lock in libcfs_hash.h. These changes
resolve the "Do not add new typedefs" warning
generated by checkpatch.pl and meet kernel coding style.

The union variables in hash.c are updated to reflect this
change as well.

Signed-off-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h
drivers/staging/lustre/lustre/libcfs/hash.c