Loading fs/ecryptfs/ecryptfs_kernel.h +1 −1 Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ ecryptfs_dentry_to_lower(struct dentry *dentry) return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; } static inline struct path * static inline const struct path * ecryptfs_dentry_to_lower_path(struct dentry *dentry) { return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; Loading fs/ecryptfs/file.c +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ static ssize_t ecryptfs_read_update_atime(struct kiocb *iocb, struct iov_iter *to) { ssize_t rc; struct path *path; const struct path *path; struct file *file = iocb->ki_filp; rc = generic_file_read_iter(iocb, to); Loading fs/ecryptfs/inode.c +1 −1 Original line number Diff line number Diff line Loading @@ -317,7 +317,7 @@ static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, struct dentry *lower_dentry) { struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent); const struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent); struct inode *inode, *lower_inode; struct ecryptfs_dentry_info *dentry_info; int rc = 0; Loading fs/ecryptfs/main.c +1 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ static int ecryptfs_init_lower_file(struct dentry *dentry, struct file **lower_file) { const struct cred *cred = current_cred(); struct path *path = ecryptfs_dentry_to_lower_path(dentry); const struct path *path = ecryptfs_dentry_to_lower_path(dentry); int rc; rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, Loading Loading
fs/ecryptfs/ecryptfs_kernel.h +1 −1 Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ ecryptfs_dentry_to_lower(struct dentry *dentry) return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; } static inline struct path * static inline const struct path * ecryptfs_dentry_to_lower_path(struct dentry *dentry) { return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; Loading
fs/ecryptfs/file.c +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ static ssize_t ecryptfs_read_update_atime(struct kiocb *iocb, struct iov_iter *to) { ssize_t rc; struct path *path; const struct path *path; struct file *file = iocb->ki_filp; rc = generic_file_read_iter(iocb, to); Loading
fs/ecryptfs/inode.c +1 −1 Original line number Diff line number Diff line Loading @@ -317,7 +317,7 @@ static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, struct dentry *lower_dentry) { struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent); const struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent); struct inode *inode, *lower_inode; struct ecryptfs_dentry_info *dentry_info; int rc = 0; Loading
fs/ecryptfs/main.c +1 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ static int ecryptfs_init_lower_file(struct dentry *dentry, struct file **lower_file) { const struct cred *cred = current_cred(); struct path *path = ecryptfs_dentry_to_lower_path(dentry); const struct path *path = ecryptfs_dentry_to_lower_path(dentry); int rc; rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, Loading