[PATCH] struct path: convert isdn
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>
This commit is contained in:

committed by
Linus Torvalds

szülő
b23463b9b9
commit
4482dfad69
@@ -1010,7 +1010,7 @@ static int capinc_tty_open(struct tty_struct * tty, struct file * file)
|
||||
{
|
||||
struct capiminor *mp;
|
||||
|
||||
if ((mp = capiminor_find(iminor(file->f_dentry->d_inode))) == 0)
|
||||
if ((mp = capiminor_find(iminor(file->f_path.dentry->d_inode))) == 0)
|
||||
return -ENXIO;
|
||||
if (mp->nccip == 0)
|
||||
return -ENXIO;
|
||||
|
Reference in New Issue
Block a user