Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Josef Sipek and committed by
Linus Torvalds
b3d7ae5f ad9a824e

+1 -1
+1 -1
drivers/zorro/proc.c
··· 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;