Skip to content

Commit 483bc7e

Browse files
author
Al Viro
committed
ecryptfs: get rid of unused accessors
Signed-off-by: Al Viro <[email protected]>
1 parent b2648d5 commit 483bc7e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

fs/ecryptfs/ecryptfs_kernel.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -496,12 +496,6 @@ ecryptfs_set_superblock_lower(struct super_block *sb,
496496
((struct ecryptfs_sb_info *)sb->s_fs_info)->wsi_sb = lower_sb;
497497
}
498498

499-
static inline struct ecryptfs_dentry_info *
500-
ecryptfs_dentry_to_private(struct dentry *dentry)
501-
{
502-
return (struct ecryptfs_dentry_info *)dentry->d_fsdata;
503-
}
504-
505499
static inline void
506500
ecryptfs_set_dentry_private(struct dentry *dentry,
507501
struct ecryptfs_dentry_info *dentry_info)
@@ -515,12 +509,6 @@ ecryptfs_dentry_to_lower(struct dentry *dentry)
515509
return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry;
516510
}
517511

518-
static inline struct vfsmount *
519-
ecryptfs_dentry_to_lower_mnt(struct dentry *dentry)
520-
{
521-
return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt;
522-
}
523-
524512
static inline struct path *
525513
ecryptfs_dentry_to_lower_path(struct dentry *dentry)
526514
{

0 commit comments

Comments
 (0)