summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/file.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-08-04 13:24:00 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-09-01 17:40:38 -0400
commit88569546e8a13a0c1ccf119dac72376784b0ea42 (patch)
tree9bbe244084ebf99f6d696e379db3179fc0254135 /fs/ecryptfs/file.c
parent20f45ad50d654d4788af9abd840b227d6429329d (diff)
downloadlinux-stable-88569546e8a13a0c1ccf119dac72376784b0ea42.tar.gz
linux-stable-88569546e8a13a0c1ccf119dac72376784b0ea42.tar.bz2
linux-stable-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/file.c')
-rw-r--r--fs/ecryptfs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c
index 18d5b91cb573..195f7c2a16e8 100644
--- a/fs/ecryptfs/file.c
+++ b/fs/ecryptfs/file.c
@@ -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);