kill f_dentry macro
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e63fa0d458
commit
78d28e651f
|
@ -467,3 +467,7 @@ in your dentry operations instead.
|
||||||
[mandatory]
|
[mandatory]
|
||||||
d_materialise_unique() is gone; d_splice_alias() does everything you
|
d_materialise_unique() is gone; d_splice_alias() does everything you
|
||||||
need now. Remember that they have opposite orders of arguments ;-/
|
need now. Remember that they have opposite orders of arguments ;-/
|
||||||
|
--
|
||||||
|
[mandatory]
|
||||||
|
f_dentry is gone; use f_path.dentry, or, better yet, see if you can avoid
|
||||||
|
it entirely.
|
||||||
|
|
|
@ -789,7 +789,6 @@ struct file {
|
||||||
struct rcu_head fu_rcuhead;
|
struct rcu_head fu_rcuhead;
|
||||||
} f_u;
|
} f_u;
|
||||||
struct path f_path;
|
struct path f_path;
|
||||||
#define f_dentry f_path.dentry
|
|
||||||
struct inode *f_inode; /* cached value */
|
struct inode *f_inode; /* cached value */
|
||||||
const struct file_operations *f_op;
|
const struct file_operations *f_op;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue