diff options
| author | David Howells <dhowells@redhat.com> | 2015-01-29 12:02:27 +0000 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-07-15 10:01:05 +0100 |
| commit | 3db9818f4e63425d0d2118e8ac59787e47e8540f (patch) | |
| tree | b7fa14bf75e96b6b679540369fa76dd692f6068e /include/linux/sysctl.h | |
| parent | a941662d578d312f162c0f5ac28f1a4665e12124 (diff) | |
VFS: Introduce inode-getting helpers for layered/unioned fs environments
commit 155e35d4daa804582f75acaa2c74ec797a89c615 upstream.
Introduce some function for getting the inode (and also the dentry) in an
environment where layered/unioned filesystems are in operation.
The problem is that we have places where we need *both* the union dentry and
the lower source or workspace inode or dentry available, but we can only have
a handle on one of them. Therefore we need to derive the handle to the other
from that.
The idea is to introduce an extra field in struct dentry that allows the union
dentry to refer to and pin the lower dentry.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[ luis: 3.16 prereq for:
fbabfd0f4ee2 "fs: Add helper functions for permanently empty directories." ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/sysctl.h')
0 files changed, 0 insertions, 0 deletions
