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)
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>

No differences found