diff mbox series

[4/4] ecryptfs: ecryptfs_dentry_info->crypt_stat is never used

Message ID YFZuqS7OheVDgObg@zeniv-ca.linux.org.uk (mailing list archive)
State New, archived
Headers show
Series [1/4] ecryptfs: get rid of pointless dget/dput in ->symlink() and ->link() | expand

Commit Message

Al Viro March 20, 2021, 9:52 p.m. UTC
... and never had anything non-NULL stored into it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 fs/ecryptfs/ecryptfs_kernel.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h
index 463b2d99b554..495fb4514d09 100644
--- a/fs/ecryptfs/ecryptfs_kernel.h
+++ b/fs/ecryptfs/ecryptfs_kernel.h
@@ -262,10 +262,7 @@  struct ecryptfs_inode_info {
  * vfsmount too. */
 struct ecryptfs_dentry_info {
 	struct path lower_path;
-	union {
-		struct ecryptfs_crypt_stat *crypt_stat;
-		struct rcu_head rcu;
-	};
+	struct rcu_head rcu;
 };
 
 /**