]> 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)
commitd63605466441bede41b43da31c3f22e8b1bb6510
treee9f269431a6ed4ec7a70de68cd9b62b0bcbe2dea
parent9568c6b45272a41dd81da26b2eb4de01dd73d6db
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