Staging: batman-adv: Mark debugfs files as nonseekable
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sat, 18 Sep 2010 19:01:13 +0000 (21:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:29:48 +0000 (16:29 -0700)
commit2d77bb592f6cabc5ee5322c03ee92b9f96c45f60
treec8628c4bd593d1c84d693b46476ba65d6e76cf62
parent93b3d9d57828af928651742086f912af913b6b31
Staging: batman-adv: Mark debugfs files as nonseekable

We don't allow to seek in the debugfs socket and log files. Thus we
should mark the file descriptor as nonseekable.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/bat_debugfs.c
drivers/staging/batman-adv/icmp_socket.c