mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
staging: lustre: use proper braces in libcfs_kkuc_group_put
Add in missing braces for libcfs_kkuc_group_put();. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
13c26b2606
commit
a0d5e63e43
1 changed files with 2 additions and 2 deletions
|
|
@ -192,9 +192,9 @@ int libcfs_kkuc_group_put(unsigned int group, void *payload)
|
|||
list_for_each_entry(reg, &kkuc_groups[group], kr_chain) {
|
||||
if (reg->kr_fp) {
|
||||
rc = libcfs_kkuc_msg_put(reg->kr_fp, payload);
|
||||
if (rc == 0)
|
||||
if (rc == 0) {
|
||||
one_success = 1;
|
||||
else if (rc == -EPIPE) {
|
||||
} else if (rc == -EPIPE) {
|
||||
fput(reg->kr_fp);
|
||||
reg->kr_fp = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue