]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitdf1a085af1f652a02238168c4f2b730c8c90dd4a
treee9f269431a6ed4ec7a70de68cd9b62b0bcbe2dea
parente7f7d2253c05143ed76ddc5e11f4cf0a9b814a27
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