aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/filesystems/porting4
-rw-r--r--include/linux/fs.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index b6b55a9cffee..fa2db081505e 100644
--- a/Documentation/filesystems/porting
+++ b/Documentation/filesystems/porting
@@ -467,3 +467,7 @@ in your dentry operations instead.
467[mandatory] 467[mandatory]
468 d_materialise_unique() is gone; d_splice_alias() does everything you 468 d_materialise_unique() is gone; d_splice_alias() does everything you
469 need now. Remember that they have opposite orders of arguments ;-/ 469 need now. Remember that they have opposite orders of arguments ;-/
470--
471[mandatory]
472 f_dentry is gone; use f_path.dentry, or, better yet, see if you can avoid
473 it entirely.
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1c12c681803f..1a8bb3c023a1 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -789,7 +789,6 @@ struct file {
789 struct rcu_head fu_rcuhead; 789 struct rcu_head fu_rcuhead;
790 } f_u; 790 } f_u;
791 struct path f_path; 791 struct path f_path;
792#define f_dentry f_path.dentry
793 struct inode *f_inode; /* cached value */ 792 struct inode *f_inode; /* cached value */
794 const struct file_operations *f_op; 793 const struct file_operations *f_op;
795 794