diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-08-04 20:24:00 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-09-02 00:40:38 +0300 |
commit | 88569546e8a13a0c1ccf119dac72376784b0ea42 (patch) | |
tree | 9bbe244084ebf99f6d696e379db3179fc0254135 /fs/ecryptfs/main.c | |
parent | 20f45ad50d654d4788af9abd840b227d6429329d (diff) | |
download | linux-88569546e8a13a0c1ccf119dac72376784b0ea42.tar.xz |
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/main.c')
-rw-r--r-- | fs/ecryptfs/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 2dd23a82e0de..2dc927ba067f 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecryptfs/main.c @@ -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, |