irda/irnet: use noop_llseek
authorArnd Bergmann <arnd@arndb.de>
Tue, 14 Sep 2010 10:22:36 +0000 (10:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2010 02:29:55 +0000 (19:29 -0700)
commit0a5f1d476aef43916abb2b8634ebff23ef2c05f6
tree341d38761934118a9b212efa5fa4499010d6fef8
parent3a43be3c328ff42327da0b141de360dc4587aab7
irda/irnet: use noop_llseek

There may be applications trying to seek
on the irnet character device, so we should
use noop_llseek to avoid returning an error
when the default llseek changes to no_llseek.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irnet/irnet_ppp.h