diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -499,7 +499,7 @@ out: | |||
499 | return error; | 499 | return error; |
500 | } | 500 | } |
501 | 501 | ||
502 | static int chmod_common(struct path *path, umode_t mode) | 502 | static 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; |