[PATCH] struct path: convert sound
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>
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Linus Torvalds

ebeveyn
17b75e6949
işleme
7bc563239e
@@ -488,7 +488,7 @@ static long snd_info_entry_ioctl(struct file *file, unsigned int cmd,
|
||||
|
||||
static int snd_info_entry_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
{
|
||||
struct inode *inode = file->f_dentry->d_inode;
|
||||
struct inode *inode = file->f_path.dentry->d_inode;
|
||||
struct snd_info_private_data *data;
|
||||
struct snd_info_entry *entry;
|
||||
|
||||
|
@@ -1604,7 +1604,7 @@ static struct file *snd_pcm_file_fd(int fd)
|
||||
file = fget(fd);
|
||||
if (!file)
|
||||
return NULL;
|
||||
inode = file->f_dentry->d_inode;
|
||||
inode = file->f_path.dentry->d_inode;
|
||||
if (!S_ISCHR(inode->i_mode) ||
|
||||
imajor(inode) != snd_major) {
|
||||
fput(file);
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle