mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
constify chmod_common/security_path_chmod
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
8a04c43b87
commit
be01f9f28e
6 changed files with 7 additions and 7 deletions
|
@ -499,7 +499,7 @@ out:
|
|||
return error;
|
||||
}
|
||||
|
||||
static int chmod_common(struct path *path, umode_t mode)
|
||||
static int chmod_common(const struct path *path, umode_t mode)
|
||||
{
|
||||
struct inode *inode = path->dentry->d_inode;
|
||||
struct inode *delegated_inode = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue