kill f_dentry macro
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Oct 2014 05:22:04 +0000 (01:22 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 19 Nov 2014 18:02:11 +0000 (13:02 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Documentation/filesystems/porting
include/linux/fs.h

index b6b55a9..fa2db08 100644 (file)
@@ -467,3 +467,7 @@ in your dentry operations instead.
 [mandatory]
        d_materialise_unique() is gone; d_splice_alias() does everything you
        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.
index 1c12c68..1a8bb3c 100644 (file)
@@ -789,7 +789,6 @@ struct file {
                struct rcu_head         fu_rcuhead;
        } f_u;
        struct path             f_path;
-#define f_dentry       f_path.dentry
        struct inode            *f_inode;       /* cached value */
        const struct file_operations    *f_op;