Whamcloud - gitweb
- fixed returning @retval in ll_lookup_it() in the case of -ERESTARTSYS
authoryury <yury>
Mon, 18 Apr 2005 12:40:50 +0000 (12:40 +0000)
committeryury <yury>
Mon, 18 Apr 2005 12:40:50 +0000 (12:40 +0000)
lustre/llite/namei.c

index 4ad2ca1..92fffb4 100644 (file)
@@ -410,7 +410,7 @@ static struct dentry *ll_lookup_it(struct inode *parent, struct dentry *dentry,
                          * making system to restart syscall as currently GNS is
                          * in mounting progress.
                          */
-                        GOTO(out, retval = rc);
+                        GOTO(out, retval = ERR_PTR(rc));
                 }
         }