diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-03-18 22:44:05 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-04-26 00:28:23 +0300 |
commit | f6f1f1790775fbe45e14a99aab2fab3d74919450 (patch) | |
tree | 4148db19bcdc869bbf762f0adc476f0e2e673ebc /fs/cifs/inode.c | |
parent | 558691393a439628e97a182fdba4e7f6417acb91 (diff) | |
download | linux-f6f1f1790775fbe45e14a99aab2fab3d74919450.tar.xz |
cifs: constify pathname arguments in a bunch of helpers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 2a73ae04b741..c6e7bb4a1876 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -1408,7 +1408,7 @@ out: int cifs_set_file_info(struct inode *inode, struct iattr *attrs, unsigned int xid, - char *full_path, __u32 dosattr) + const char *full_path, __u32 dosattr) { bool set_time = false; struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); @@ -2522,7 +2522,7 @@ void cifs_setsize(struct inode *inode, loff_t offset) static int cifs_set_file_size(struct inode *inode, struct iattr *attrs, - unsigned int xid, char *full_path) + unsigned int xid, const char *full_path) { int rc; struct cifsFileInfo *open_file; |