diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-01-23 17:07:38 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-22 23:31:31 -0500 |
commit | 496ad9aa8ef448058e36ca7a787c61f2e63f0f54 (patch) | |
tree | 8f4abde793cd7db5bb8fde6d27ebcacd0e54379a /drivers/isdn/hysdn/hysdn_proclog.c | |
parent | 57eccb830f1cc93d4b506ba306d8dfa685e0c88f (diff) |
new helper: file_inode(file)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_proclog.c')
-rw-r--r-- | drivers/isdn/hysdn/hysdn_proclog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hysdn/hysdn_proclog.c b/drivers/isdn/hysdn/hysdn_proclog.c index 88e4f0ee073c..9a3ce93665c5 100644 --- a/drivers/isdn/hysdn/hysdn_proclog.c +++ b/drivers/isdn/hysdn/hysdn_proclog.c | |||
@@ -173,7 +173,7 @@ hysdn_log_read(struct file *file, char __user *buf, size_t count, loff_t *off) | |||
173 | { | 173 | { |
174 | struct log_data *inf; | 174 | struct log_data *inf; |
175 | int len; | 175 | int len; |
176 | struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); | 176 | struct proc_dir_entry *pde = PDE(file_inode(file)); |
177 | struct procdata *pd = NULL; | 177 | struct procdata *pd = NULL; |
178 | hysdn_card *card; | 178 | hysdn_card *card; |
179 | 179 | ||
@@ -319,7 +319,7 @@ static unsigned int | |||
319 | hysdn_log_poll(struct file *file, poll_table *wait) | 319 | hysdn_log_poll(struct file *file, poll_table *wait) |
320 | { | 320 | { |
321 | unsigned int mask = 0; | 321 | unsigned int mask = 0; |
322 | struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); | 322 | struct proc_dir_entry *pde = PDE(file_inode(file)); |
323 | hysdn_card *card; | 323 | hysdn_card *card; |
324 | struct procdata *pd = NULL; | 324 | struct procdata *pd = NULL; |
325 | 325 | ||