staging: lustre: llite: expand the GOTO macro
[deliverable/linux.git] / drivers / staging / lustre / lustre / llite / remote_perm.c
index f61fefc9baf0f714e814d556c50999d014d4a14c..c05a9126cfe3d9743c114dbe1208db22a95a3626 100644 (file)
@@ -100,7 +100,7 @@ void free_rmtperm_hash(struct hlist_head *hash)
        struct ll_remote_perm *lrp;
        struct hlist_node *next;
 
-       if(!hash)
+       if (!hash)
                return;
 
        for (i = 0; i < REMOTE_PERM_HASHSIZE; i++)
@@ -144,8 +144,10 @@ static int do_check_remote_perm(struct ll_inode_info *lli, int mask)
                break;
        }
 
-       if (!found)
-               GOTO(out, rc = -ENOENT);
+       if (!found) {
+               rc = -ENOENT;
+               goto out;
+       }
 
        CDEBUG(D_SEC, "found remote perm: %u/%u/%u/%u - %#x\n",
               lrp->lrp_uid, lrp->lrp_gid, lrp->lrp_fsuid, lrp->lrp_fsgid,
This page took 0.026046 seconds and 5 git commands to generate.