staging: lustre: use proper braces in libcfs_kkuc_group_put
authorJames Simmons <jsimmons@infradead.org>
Wed, 23 Dec 2015 21:24:49 +0000 (16:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:20:14 +0000 (14:20 -0800)
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>
drivers/staging/lustre/lustre/obdclass/kernelcomm.c

index 709b1ab..46cb81a 100644 (file)
@@ -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;
                        }