ALSA: core - Define llseek fops
authorTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 09:49:04 +0000 (11:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 10:01:21 +0000 (12:01 +0200)
commit02f4865fa415a87de28cc8c2e4d798ff46be1cf8
tree7d8e1087fd17e0390439ad4fe3cdd59477c3032c
parent73029e0ff18dfac8a1aab1dc188e1e150bbe3adc
ALSA: core - Define llseek fops

Set no_llseek to llseek file ops of each sound component (but for hwdep).
This avoids the implicit BKL invocation via generic_file_llseek() used
as default when fops.llseek is NULL.

Also call nonseekable_open() at each open ops to ensure the file flags
have no seek bit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c
sound/core/oss/mixer_oss.c
sound/core/oss/pcm_oss.c
sound/core/pcm_native.c
sound/core/rawmidi.c
sound/core/seq/seq_clientmgr.c
sound/core/timer.c