• Takashi Iwai's avatar
    ALSA: core - Define llseek fops · 02f4865f
    Takashi Iwai authored
    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: default avatarTakashi Iwai <tiwai@suse.de>
    02f4865f
mixer_oss.c 40.7 KB