Commit b3d7ae5f47a58a9f7b152deeaf7daa1fc558a8f1

Authored by Josef Sipek
Committed by Linus Torvalds
1 parent ad9a824e00

[PATCH] struct path: convert zorro

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/zorro/proc.c
... ... @@ -47,7 +47,7 @@
47 47 static ssize_t
48 48 proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
49 49 {
50   - struct inode *ino = file->f_dentry->d_inode;
  50 + struct inode *ino = file->f_path.dentry->d_inode;
51 51 struct proc_dir_entry *dp = PDE(ino);
52 52 struct zorro_dev *z = dp->data;
53 53 struct ConfigDev cd;