vfs: add file_path() helper
[linux-2.6-block.git] / arch / blackfin / kernel / trace.c
index c36efa0c7163c4dac53515ceb822154e559dd698..719dd796c12cb1cac2ca95de973700ac37942bdd 100644 (file)
@@ -136,7 +136,7 @@ void decode_address(char *buf, unsigned long address)
                                struct file *file = vma->vm_file;
 
                                if (file) {
-                                       char *d_name = d_path(&file->f_path, _tmpbuf,
+                                       char *d_name = file_path(file, _tmpbuf,
                                                      sizeof(_tmpbuf));
                                        if (!IS_ERR(d_name))
                                                name = d_name;