]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: Cleanup variable declarations in mdc_enqueue()
authorSrikrishan Malik <srikrishanmalik@gmail.com>
Mon, 11 Aug 2014 18:27:39 +0000 (23:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:18 +0000 (12:23 -0700)
commitab909585b813193bb45f52367c1e7d056e33cfa9
tree8517c1c472bfd3bdef6c4fc84a99741be559993f
parenteb44520b3ad9407704dd111c9acd48911c83beba
staging: lustre: Cleanup variable declarations in mdc_enqueue()

Changes:
- move const union vars to the top
- move rc to bottom
- do not initialize req
- set lvb_type to enum member instead of 0
- change __u64 to u64
- fix inconsistant columnization

Signed-off-by: Srikrishan Malik <srikrishanmalik@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_locks.c