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>
This commit is contained in:
parent
9cfdb1c12b
commit
558691393a
@ -495,7 +495,7 @@ struct smb_version_operations {
|
||||
struct inode *inode,
|
||||
struct dentry *dentry,
|
||||
struct cifs_tcon *tcon,
|
||||
char *full_path,
|
||||
const char *full_path,
|
||||
umode_t mode,
|
||||
dev_t device_number);
|
||||
/* version specific fiemap implementation */
|
||||
|
@ -1025,7 +1025,7 @@ cifs_can_echo(struct TCP_Server_Info *server)
|
||||
static int
|
||||
cifs_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);
|
||||
struct inode *newinode = NULL;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user