vfs: make no_llseek the default
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Jul 2010 21:10:11 +0000 (23:10 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 Oct 2010 13:53:46 +0000 (15:53 +0200)
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

No differences found