OSDN Git Service

staging: lustre: Remove typedef and update cfs_hash_bucket struct
authorLisa Nguyen <lisa@xenapiadmin.com>
Mon, 21 Oct 2013 05:53:49 +0000 (22:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Oct 2013 03:12:19 +0000 (20:12 -0700)
commit1e27138bae529a219f5213fdf60900fae7fec1b9
tree8b2f157be0352a68ae6583078fcb4087c18faf70
parent7c64884b19f3dc864208df30c0a9c24175dac26a
staging: lustre: Remove typedef and update cfs_hash_bucket struct

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

The struct 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