Stefan Richter 7cfe21aae1 ieee1394: mark char device files as not seekable
The
  - raw1394   (/dev/raw1394),
  - video1394 (/dev/video1394/*),
  - dv1394    (/dev/dv1394/*)
character device file ABIs do not make any use of lseek(), pread(), or
pwrite().  Therefore use nonseekable_open() and, redundantly, set
file_operations.llseek to no_llseek to remove any doubt whether the BKL-
grabbing default_llseek handler is used.

Although all this is legacy code which should be left in peace until it
is eventually removed (as it is superseded by firewire-core's
<linux/firewire-cdev.h> ABI), this change seems still worth doing to
further minimize the presence of BKL usage in the kernel.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2010-04-10 16:51:15 +02:00
..
2009-09-27 11:39:25 -07:00
2009-06-15 15:49:29 +02:00
2009-03-24 20:56:53 +01:00
2009-11-18 20:30:35 +01:00
2007-07-10 00:07:41 +02:00