aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/open.c b/fs/open.c
index 651bf74745a2..cfdf71a6704e 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -499,7 +499,7 @@ out:
499 return error; 499 return error;
500} 500}
501 501
502static int chmod_common(struct path *path, umode_t mode) 502static int chmod_common(const struct path *path, umode_t mode)
503{ 503{
504 struct inode *inode = path->dentry->d_inode; 504 struct inode *inode = path->dentry->d_inode;
505 struct inode *delegated_inode = NULL; 505 struct inode *delegated_inode = NULL;