diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:46 -0500 |
commit | 4482dfad69d783d1df03ed3952838451a249985e (patch) | |
tree | f77b314ac1b83994107b2e7df4df795a8af001d9 /drivers/isdn/capi | |
parent | b23463b9b94a00baf4cc3cf835c366cffff715c2 (diff) |
[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>
Diffstat (limited to 'drivers/isdn/capi')
-rw-r--r-- | drivers/isdn/capi/capi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 11844bbfe933..787a630a8e56 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -1010,7 +1010,7 @@ static int capinc_tty_open(struct tty_struct * tty, struct file * file) | |||
1010 | { | 1010 | { |
1011 | struct capiminor *mp; | 1011 | struct capiminor *mp; |
1012 | 1012 | ||
1013 | if ((mp = capiminor_find(iminor(file->f_dentry->d_inode))) == 0) | 1013 | if ((mp = capiminor_find(iminor(file->f_path.dentry->d_inode))) == 0) |
1014 | return -ENXIO; | 1014 | return -ENXIO; |
1015 | if (mp->nccip == 0) | 1015 | if (mp->nccip == 0) |
1016 | return -ENXIO; | 1016 | return -ENXIO; |