lkdtm: use generic_file_llseek in debugfs
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Jul 2010 17:10:26 +0000 (19:10 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 16 Sep 2010 08:33:09 +0000 (10:33 +0200)
commit05271ec424d526968d75b4dd9860f8078bcff0a6
treeb1002d281a52eceb9127911b539992e04835d033
parent2b18ab36cf7e956fb5b5ee12847e94fc66d496f4
lkdtm: use generic_file_llseek in debugfs

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: Arnd Bergmann <arnd@arndb.de>
drivers/misc/lkdtm.c