patch-2.1.65 linux/drivers/sound/soundcard.c

Next file: linux/fs/dcache.c
Previous file: linux/drivers/sound/lowlevel/awe_config.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.64/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -327,7 +327,7 @@
 			vma->vm_page_prot))
     return -EAGAIN;
 
-  vma->vm_dentry = file->f_dentry;
+  vma->vm_dentry = dget(file->f_dentry);
 
   dmap->mapping_flags |= DMA_MAP_MAPPED;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov