diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-04 19:24:00 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-09-01 23:40:38 +0200 |
commit | 88569546e8a13a0c1ccf119dac72376784b0ea42 (patch) | |
tree | 9bbe244084ebf99f6d696e379db3179fc0254135 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | spufs: constify path (diff) | |
download | linux-88569546e8a13a0c1ccf119dac72376784b0ea42.tar.xz linux-88569546e8a13a0c1ccf119dac72376784b0ea42.zip |
ecryptfs: constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r-- | fs/ecryptfs/ecryptfs_kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index 5f2b49e13731..f2ed0c0266cb 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h @@ -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; |