]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit34e8d998674275e2bef78722568da5fda877370b
tree8b2f157be0352a68ae6583078fcb4087c18faf70
parentaf4cfb88b2463d5920a493d45d587886ba5e0fe6
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