Merge branch 'for-2.6.38/drivers' of git://git.kernel.dk/linux-2.6-block
[firefly-linux-kernel-4.4.55.git] / fs / udf / namei.c
index a2974f7563a283c391a0ba6fc504c9da8528e439..2be0f9eb86d2d6878943ad4030667ec2a8a2ef0b 100644 (file)
@@ -227,10 +227,8 @@ static struct fileIdentDesc *udf_find_entry(struct inode *dir,
                }
 
                if ((cfi->fileCharacteristics & FID_FILE_CHAR_PARENT) &&
-                   isdotdot) {
-                       brelse(epos.bh);
-                       return fi;
-               }
+                   isdotdot)
+                       goto out_ok;
 
                if (!lfi)
                        continue;