diff options
author | David Howells <dhowells@redhat.com> | 2015-01-29 12:02:27 +0000 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-02-22 11:38:15 -0500 |
commit | 155e35d4daa804582f75acaa2c74ec797a89c615 (patch) | |
tree | 322e9d089bd5610164aeadf164a237328cb0b19c /fs/btrfs/free-space-cache.c | |
parent | ce7b9facdf43b42fb95bdff9069aefeddb7d0a69 (diff) |
VFS: Introduce inode-getting helpers for layered/unioned fs environments
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>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions