Commit c2c8bbad authored by Josef Sipek's avatar Josef Sipek Committed by Linus Torvalds

[PATCH] struct path: convert ppc

Signed-off-by: default avatarJosef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b4d1ab58
...@@ -2165,7 +2165,7 @@ static int sq_release(struct inode *inode, struct file *file) ...@@ -2165,7 +2165,7 @@ static int sq_release(struct inode *inode, struct file *file)
int rc = 0; int rc = 0;
if (sq.busy) if (sq.busy)
rc = sq_fsync(file, file->f_dentry); rc = sq_fsync(file, file->f_path.dentry);
sound.soft = sound.dsp; sound.soft = sound.dsp;
sound.hard = sound.dsp; sound.hard = sound.dsp;
sound_silence(); sound_silence();
...@@ -2218,25 +2218,25 @@ static int sq_ioctl(struct inode *inode, struct file *file, u_int cmd, ...@@ -2218,25 +2218,25 @@ static int sq_ioctl(struct inode *inode, struct file *file, u_int cmd,
return 0; return 0;
case SNDCTL_DSP_POST: case SNDCTL_DSP_POST:
case SNDCTL_DSP_SYNC: case SNDCTL_DSP_SYNC:
return sq_fsync(file, file->f_dentry); return sq_fsync(file, file->f_path.dentry);
/* ++TeSche: before changing any of these it's /* ++TeSche: before changing any of these it's
* probably wise to wait until sound playing has * probably wise to wait until sound playing has
* settled down. */ * settled down. */
case SNDCTL_DSP_SPEED: case SNDCTL_DSP_SPEED:
sq_fsync(file, file->f_dentry); sq_fsync(file, file->f_path.dentry);
IOCTL_IN(arg, data); IOCTL_IN(arg, data);
return IOCTL_OUT(arg, sound_set_speed(data)); return IOCTL_OUT(arg, sound_set_speed(data));
case SNDCTL_DSP_STEREO: case SNDCTL_DSP_STEREO:
sq_fsync(file, file->f_dentry); sq_fsync(file, file->f_path.dentry);
IOCTL_IN(arg, data); IOCTL_IN(arg, data);
return IOCTL_OUT(arg, sound_set_stereo(data)); return IOCTL_OUT(arg, sound_set_stereo(data));
case SOUND_PCM_WRITE_CHANNELS: case SOUND_PCM_WRITE_CHANNELS:
sq_fsync(file, file->f_dentry); sq_fsync(file, file->f_path.dentry);
IOCTL_IN(arg, data); IOCTL_IN(arg, data);
return IOCTL_OUT(arg, sound_set_stereo(data-1)+1); return IOCTL_OUT(arg, sound_set_stereo(data-1)+1);
case SNDCTL_DSP_SETFMT: case SNDCTL_DSP_SETFMT:
sq_fsync(file, file->f_dentry); sq_fsync(file, file->f_path.dentry);
IOCTL_IN(arg, data); IOCTL_IN(arg, data);
return IOCTL_OUT(arg, sound_set_format(data)); return IOCTL_OUT(arg, sound_set_format(data));
case SNDCTL_DSP_GETFMTS: case SNDCTL_DSP_GETFMTS:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment