]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: Make more complete truncate operation available to CacheFiles
authorDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 21:52:36 +0000 (21:52 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 22:05:41 +0000 (22:05 +0000)
commite856bba75f1dbf92f75a6bdb566624be1eb7e654
treeca411825ecc8a30b70d869244a7e9412d0728486
parentd3a073c9bf0d84eb8b630bcd7183eb530effcce8
VFS: Make more complete truncate operation available to CacheFiles

Make a more complete truncate operation available to CacheFiles (including
security checks and suchlike) so that it can use this to clear invalidated
cache files.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
fs/open.c
include/linux/fs.h