mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 07:51:16 -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:
committed by
Greg Kroah-Hartman
parent
13c26b2606
commit
a0d5e63e43
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user