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

Next file: linux/fs/Config.in
Previous file: linux/drivers/sound/dmabuf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -327,7 +327,7 @@
     return -EAGAIN;
 
   vma->vm_inode = inode;
-  inode->i_count++;
+  atomic_inc(&inode->i_count);
 
   dmap->mapping_flags |= DMA_MAP_MAPPED;
 

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