summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-07-07 23:10:11 +0200
committerArnd Bergmann <arnd@arndb.de>2010-10-15 15:53:46 +0200
commit776c163b1b93c8dfa5edba885bc2bfbc2d228a5f (patch)
treeef430b1ab7d7cb7a9fd16ffb6c1775e1325777e3 /samples
parentab91261f5c43f196ec7ff1d113847b87b7606b26 (diff)
downloadop-kernel-dev-776c163b1b93c8dfa5edba885bc2bfbc2d228a5f.zip
op-kernel-dev-776c163b1b93c8dfa5edba885bc2bfbc2d228a5f.tar.gz
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 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud