summaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-04-10 16:38:05 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-04-10 16:51:14 +0200
commit3ac26b2ee30005930117fe6a180c139c5f300faf (patch)
tree5064fa443c3a9e3b7eec7dd4b264b0eae28d5c77 /drivers/ieee1394
parent5da3dac8d99c9933f12286fd73fa18e26f768bea (diff)
downloadlinux-3ac26b2ee30005930117fe6a180c139c5f300faf.tar.bz2
firewire: cdev: mark char device files as not seekable
The <linux/firewire-cdev.h> character device file ABI (i.e. /dev/fw* character device file interface) does not make any use of lseek(), pread(), pwrite() (or any kind of write() at all). 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. (Also shuffle file_operations initialization according to the order of handler definitions.) Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
0 files changed, 0 insertions, 0 deletions