]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 b6b55a9cffee91be68ad916c38efc320fced443a..fa2db081505e6d6d581ea4ee6d8f1eaab56a3482 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 1c12c681803feac79366a6fb43e0a60cc6948e49..1a8bb3c023a1df9a3c97bdc25150348db6fc6f73 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;