[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:
Josef Sipek
2006-12-08 02:37:40 -08:00
işlemeyi yapan: Linus Torvalds
ebeveyn 17b75e6949
işleme 7bc563239e
6 değiştirilmiş dosya ile 11 ekleme ve 11 silme

Dosyayı Görüntüle

@@ -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;

Dosyayı Görüntüle

@@ -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);