]> 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)
commit123e9aaf07bd8eccf012c842d60e8be2b77f0a0d
treeca411825ecc8a30b70d869244a7e9412d0728486
parentc0c0ee874a7485efe1f1c8df4ef6fac110f10640
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