VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / fs / udf / dir.c
index a67dceb..33228f1 100644 (file)
@@ -237,7 +237,9 @@ do_udf_readdir(struct inode * dir, struct file *filp, filldir_t filldir, void *d
                }
                else
                {
-                       iblock = udf_get_lb_pblock(dir->i_sb, lelb_to_cpu(cfi.icb.extLocation), 0);
+                       lb_addr tloc = lelb_to_cpu(cfi.icb.extLocation);
+
+                       iblock = udf_get_lb_pblock(dir->i_sb, tloc, 0);
                        flen = udf_get_filename(dir->i_sb, nameptr, fname, lfi);
                        dt_type = DT_UNKNOWN;
                }