summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-09-30 10:24:07 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-05 08:50:14 -0700
commitd16044cf8ce0ff6384cd80eb0abaa2ba57b19a5e (patch)
treeac95dc8df12c484d2ff36afccb3e9bd654c05e11 /include
parentcff55f50b882b197a52c4cf0108a43c615d1fdba (diff)
staging: make new character devices nonseekable
As a preparation for changing the default behaviour of llseek to no_llseek, every file_operations structure should have a .llseek operation. There are three new instances in staging now, which can all be changed into no_llseek explicitly since the devices do not need to seek. Add nonseekable_open where appropriate, to prevent pread/pwrite as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions