]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ecryptfs/ecryptfs_kernel.h
switch vfs_getattr() to struct path
[karo-tx-linux.git] / fs / ecryptfs / ecryptfs_kernel.h
index cfb4b9fed520144579c9f9de0a59bcfc5ceced34..7e2c6f5d7985ffc3fae9482a6eb952b58621e278 100644 (file)
@@ -509,6 +509,12 @@ ecryptfs_dentry_to_lower_mnt(struct dentry *dentry)
        return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt;
 }
 
+static inline struct path *
+ecryptfs_dentry_to_lower_path(struct dentry *dentry)
+{
+       return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path;
+}
+
 static inline void
 ecryptfs_set_dentry_lower_mnt(struct dentry *dentry, struct vfsmount *lower_mnt)
 {