]> git.baikalelectronics.ru Git - kernel.git/commit
VFS: Add a fallthrough flag for marking virtual dentries
authorDavid Howells <dhowells@redhat.com>
Thu, 29 Jan 2015 12:02:28 +0000 (12:02 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 16:38:38 +0000 (11:38 -0500)
commit47deac21788ceacccdcf96dd905dc7fe07c139bf
treee9f269431a6ed4ec7a70de68cd9b62b0bcbe2dea
parent8a14ba6ca3b2ecc61196acaa732f9afd0b2c4ff2
VFS: Add a fallthrough flag for marking virtual dentries

Add a DCACHE_FALLTHRU flag to indicate that, in a layered filesystem, this is
a virtual dentry that covers another one in a lower layer that should be used
instead.  This may be recorded on medium if directory integration is stored
there.

The flag can be set with d_set_fallthru() and tested with d_is_fallthru().

Original-author: Valerie Aurora <vaurora@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
include/linux/dcache.h