lkml.org 
[lkml]   [1997]   [Oct]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(H. Peter Anvin)
SubjectRe: changed read/write interface breaks sound-I/O
Date30 Oct 1997 07:48:42 GMT
Followup to:  <wshga219h3.fsf@orcus.priv.at>
By author:    Robert Bihlmeyer <robbe@orcus.priv.at>
In newsgroup: linux.dev.kernel
>
> 2.1.60 removed the inode-pointer from the parameters of the "read" and
> "write" file_operations. This breaks I/O to sound-devices (soundcard.c 
> relies on the old interface) and probably other things.
> 
> What would be the canonical way to get at the inode from a `struct file 
> *file'? "file->f_dentry->d_inode"?
> 

Yes.

	-hpa
-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2008