diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-18 06:38:53 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-04-25 23:28:23 +0200 |
commit | 558691393a439628e97a182fdba4e7f6417acb91 (patch) | |
tree | 86ff78d60c24211103daf451a54b880f719665e1 /fs/cifs/smb2ops.c | |
parent | cifs: constify get_normalized_path() properly (diff) | |
download | linux-558691393a439628e97a182fdba4e7f6417acb91.tar.xz linux-558691393a439628e97a182fdba4e7f6417acb91.zip |
cifs: constify path argument of ->make_node()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
-rw-r--r-- | fs/cifs/smb2ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c index f703204fb185..81b1e0eca9b9 100644 --- a/fs/cifs/smb2ops.c +++ b/fs/cifs/smb2ops.c @@ -4968,7 +4968,7 @@ smb2_next_header(char *buf) static int smb2_make_node(unsigned int xid, struct inode *inode, struct dentry *dentry, struct cifs_tcon *tcon, - char *full_path, umode_t mode, dev_t dev) + const char *full_path, umode_t mode, dev_t dev) { struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); int rc = -EPERM; |