Skip to content
Snippets Groups Projects
  • Arnd Bergmann's avatar
    05271ec4
    lkdtm: use generic_file_llseek in debugfs · 05271ec4
    Arnd Bergmann authored
    
    When the default llseek behavior gets changed to
    not allowing seek, all file operations that rely
    on the current behaviour need to use an explicit
    .llseek operation.
    
    The files that lkdtm uses in debugfs are regular
    files and they get read using simple_read_from_buffer,
    so generic_file_llseek is the right operation.
    
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    05271ec4
    History
    lkdtm: use generic_file_llseek in debugfs
    Arnd Bergmann authored
    
    When the default llseek behavior gets changed to
    not allowing seek, all file operations that rely
    on the current behaviour need to use an explicit
    .llseek operation.
    
    The files that lkdtm uses in debugfs are regular
    files and they get read using simple_read_from_buffer,
    so generic_file_llseek is the right operation.
    
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.