diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2010-09-30 10:24:07 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-05 08:50:14 -0700 |
| commit | d16044cf8ce0ff6384cd80eb0abaa2ba57b19a5e (patch) | |
| tree | ac95dc8df12c484d2ff36afccb3e9bd654c05e11 /include/linux | |
| parent | cff55f50b882b197a52c4cf0108a43c615d1fdba (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/linux')
0 files changed, 0 insertions, 0 deletions
