Commit 483bc7e8 authored by Al Viro's avatar Al Viro

ecryptfs: get rid of unused accessors

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent b2648d51
...@@ -496,12 +496,6 @@ ecryptfs_set_superblock_lower(struct super_block *sb, ...@@ -496,12 +496,6 @@ ecryptfs_set_superblock_lower(struct super_block *sb,
((struct ecryptfs_sb_info *)sb->s_fs_info)->wsi_sb = lower_sb; ((struct ecryptfs_sb_info *)sb->s_fs_info)->wsi_sb = lower_sb;
} }
static inline struct ecryptfs_dentry_info *
ecryptfs_dentry_to_private(struct dentry *dentry)
{
return (struct ecryptfs_dentry_info *)dentry->d_fsdata;
}
static inline void static inline void
ecryptfs_set_dentry_private(struct dentry *dentry, ecryptfs_set_dentry_private(struct dentry *dentry,
struct ecryptfs_dentry_info *dentry_info) struct ecryptfs_dentry_info *dentry_info)
...@@ -515,12 +509,6 @@ ecryptfs_dentry_to_lower(struct dentry *dentry) ...@@ -515,12 +509,6 @@ ecryptfs_dentry_to_lower(struct dentry *dentry)
return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry;
} }
static inline struct vfsmount *
ecryptfs_dentry_to_lower_mnt(struct dentry *dentry)
{
return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt;
}
static inline struct path * static inline struct path *
ecryptfs_dentry_to_lower_path(struct dentry *dentry) ecryptfs_dentry_to_lower_path(struct dentry *dentry)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment