]> git.baikalelectronics.ru Git - kernel.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)
commitcb636533e56837015ede859839b35e2700791a7b
tree73421310887fdd04dcb6b46f464af49bcff51ad5
parent1286fe29e34e8849e571ad98a14cf244de7542f4
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