Explorar el Código

[PATCH] struct path: convert ieee1394

Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Josef Sipek hace 18 años
padre
commit
4db61081fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/ieee1394/ieee1394_core.h

+ 1 - 1
drivers/ieee1394/ieee1394_core.h

@@ -217,7 +217,7 @@ void hpsb_packet_received(struct hpsb_host *host, quadlet_t *data, size_t size,
 /* return the index (within a minor number block) of a file */
 static inline unsigned char ieee1394_file_to_instance(struct file *file)
 {
-	return file->f_dentry->d_inode->i_cindex;
+	return file->f_path.dentry->d_inode->i_cindex;
 }
 
 extern int hpsb_disable_irm;