aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/dmasound
diff options
context:
space:
mode:
authorJosef Sipek <jsipek@fsl.cs.sunysb.edu>2006-12-08 05:37:40 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:28:49 -0500
commit7bc563239e4c276afebd11d2e6e67ddc0cc65f0d (patch)
tree7a4c13715285bc374297d439d01f703e0184df69 /sound/oss/dmasound
parent17b75e69493f655a09908045eddbb48718aef5de (diff)
[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>
Diffstat (limited to 'sound/oss/dmasound')
-rw-r--r--sound/oss/dmasound/dmasound_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/dmasound/dmasound_core.c b/sound/oss/dmasound/dmasound_core.c
index 87bd3100aef3..80b836e80d99 100644
--- a/sound/oss/dmasound/dmasound_core.c
+++ b/sound/oss/dmasound/dmasound_core.c
@@ -1051,7 +1051,7 @@ static int sq_release(struct inode *inode, struct file *file)
1051 1051
1052 if (file->f_mode & FMODE_WRITE) { 1052 if (file->f_mode & FMODE_WRITE) {
1053 if (write_sq.busy) 1053 if (write_sq.busy)
1054 rc = sq_fsync(file, file->f_dentry); 1054 rc = sq_fsync(file, file->f_path.dentry);
1055 1055
1056 sq_reset_output() ; /* make sure dma is stopped and all is quiet */ 1056 sq_reset_output() ; /* make sure dma is stopped and all is quiet */
1057 write_sq_release_buffers(); 1057 write_sq_release_buffers();
@@ -1217,7 +1217,7 @@ static int sq_ioctl(struct inode *inode, struct file *file, u_int cmd,
1217 if ((file->f_mode & FMODE_READ) && dmasound.mach.record) 1217 if ((file->f_mode & FMODE_READ) && dmasound.mach.record)
1218 sq_reset_input() ; 1218 sq_reset_input() ;
1219 if (file->f_mode & FMODE_WRITE) { 1219 if (file->f_mode & FMODE_WRITE) {
1220 result = sq_fsync(file, file->f_dentry); 1220 result = sq_fsync(file, file->f_path.dentry);
1221 sq_reset_output() ; 1221 sq_reset_output() ;
1222 } 1222 }
1223 /* if we are the shared resource owner then release them */ 1223 /* if we are the shared resource owner then release them */