misdn: use nonseekable_open()
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 14 Oct 2008 01:42:07 +0000 (18:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2008 01:42:07 +0000 (18:42 -0700)
commit6bff338bb60cb97f4ad06aa20f5c8e547eb1bc7a
tree296a7c0dc74f9608abc9ffd920b2bc6a8ea1429f
parentb7c6bfb710cfd6552c3186cb8ce1ac9eef7a0e3d
misdn: use nonseekable_open()

The driver just sets ->llseek to NULL.  It should also clear FMODE_LSEEK to
tell the VFS that seeks are not supported.

Pointed out by Christoph Hellwig.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/timerdev.c