Whamcloud - gitweb
- fix up rc = type-o spotted by adilger
authorzab <zab>
Thu, 11 Dec 2003 20:06:24 +0000 (20:06 +0000)
committerzab <zab>
Thu, 11 Dec 2003 20:06:24 +0000 (20:06 +0000)
lustre/obdfilter/filter.c

index 4707b11..17659dd 100644 (file)
@@ -1615,7 +1615,7 @@ static int filter_precreate(struct obd_device *obd, struct obdo *oa,
                 dparent = filter_parent_lock(obd, group, next_id, LCK_PW,
                                              &parent_lockh);
                 if (IS_ERR(dparent))
-                        GOTO(cleanup,  PTR_ERR(dparent));
+                        GOTO(cleanup, rc = PTR_ERR(dparent));
                 cleanup_phase = 1;
 
                 dchild = filter_fid2dentry(obd, dparent, group, next_id);