From b907a8622e39eecfc4b243f3be3ad26559d1faee Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 27 Jun 2016 21:01:09 -0300 Subject: Linux-libre 4.6.3-gnu --- fs/aufs/dentry.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fs/aufs/dentry.h') diff --git a/fs/aufs/dentry.h b/fs/aufs/dentry.h index 3e48b5cde..c52fe583f 100644 --- a/fs/aufs/dentry.h +++ b/fs/aufs/dentry.h @@ -145,6 +145,12 @@ static inline void au_h_dentry_init(struct au_hdentry *hdentry) hdentry->hd_dentry = NULL; } +static inline struct au_hdentry *au_hdentry(struct au_dinfo *di, + aufs_bindex_t bindex) +{ + return di->di_hdentry + bindex; +} + static inline void au_hdput(struct au_hdentry *hd) { if (hd) -- cgit v1.2.3-54-g00ecf