diff options
author | Arnd Bergmann <arnd@arndb.de> | 2010-07-07 23:10:11 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2010-09-26 17:24:42 +0200 |
commit | 9599bc4b997ccd416665c66ab6ea090163c7432c (patch) | |
tree | aad0d504895782bf51dfa358807fb26690841d26 /drivers/char/scx200_gpio.c | |
parent | 22a49f0f004192d73d42de19d6526b588e54a1a9 (diff) |
vfs: make no_llseek the default
All file operations now have an explicit .llseek
operation pointer, so we can change the default
action for future code.
This makes changes the default from default_llseek
to no_llseek, which always returns -ESPIPE if
a user tries to seek on a file without a .llseek
operation.
The name of the default_llseek function remains
unchanged, if anyone thinks we should change it,
please speak up.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'drivers/char/scx200_gpio.c')
0 files changed, 0 insertions, 0 deletions