From: Stefan Richter Date: Sat, 10 Apr 2010 15:38:05 +0000 (+0100) Subject: firewire: cdev: mark char device files as not seekable X-Git-Tag: v2.6.35-rc1~41^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ac26b2ee30005930117fe6a180c139c5f300faf;p=pandora-kernel.git firewire: cdev: mark char device files as not seekable The 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 --- Reading git-diff-tree failed