I have installed 2.2.6 kernel with no problems. but mmap file op has
been changed to delete first arg:
Old:
int (*mmap) (struct inode *, struct file *, struct vm_area_struct *);
New:
int (*mmap) (struct file *, struct vm_area_struct *);
Could someone please tell me the approved way
to get a minor device number other than the old way:
minor = MINOR(inode->i_rdev);
Does
minor = MINOR(file->f_dentry->d_inode->i_dev);
work????
Frank McGirt
fmcgirt@swcp.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/