From: Josef Sipek Date: Fri, 8 Dec 2006 10:37:10 +0000 (-0800) Subject: [PATCH] struct path: convert ieee1394 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4db61081fac72623eb638f918819046361ff1508;p=linux-beck.git [PATCH] struct path: convert ieee1394 Signed-off-by: Josef Sipek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/ieee1394/ieee1394_core.h b/drivers/ieee1394/ieee1394_core.h index af4a78a8ef3b..536ba3f580fd 100644 --- a/drivers/ieee1394/ieee1394_core.h +++ b/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;