aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r--fs/ecryptfs/ecryptfs_kernel.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h
index e7ad2b3f24a7..90d1882b306f 100644
--- a/fs/ecryptfs/ecryptfs_kernel.h
+++ b/fs/ecryptfs/ecryptfs_kernel.h
@@ -515,13 +515,6 @@ ecryptfs_dentry_to_lower(struct dentry *dentry)
515 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; 515 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry;
516} 516}
517 517
518static inline void
519ecryptfs_set_dentry_lower(struct dentry *dentry, struct dentry *lower_dentry)
520{
521 ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry =
522 lower_dentry;
523}
524
525static inline struct vfsmount * 518static inline struct vfsmount *
526ecryptfs_dentry_to_lower_mnt(struct dentry *dentry) 519ecryptfs_dentry_to_lower_mnt(struct dentry *dentry)
527{ 520{
@@ -534,13 +527,6 @@ ecryptfs_dentry_to_lower_path(struct dentry *dentry)
534 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; 527 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path;
535} 528}
536 529
537static inline void
538ecryptfs_set_dentry_lower_mnt(struct dentry *dentry, struct vfsmount *lower_mnt)
539{
540 ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt =
541 lower_mnt;
542}
543
544#define ecryptfs_printk(type, fmt, arg...) \ 530#define ecryptfs_printk(type, fmt, arg...) \
545 __ecryptfs_printk(type "%s: " fmt, __func__, ## arg); 531 __ecryptfs_printk(type "%s: " fmt, __func__, ## arg);
546__printf(1, 2) 532__printf(1, 2)