|
@@ -3530,7 +3530,7 @@ static void nfs_fixup_secinfo_attributes(struct nfs_fattr *fattr)
|
|
|
}
|
|
|
|
|
|
static int nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir,
|
|
|
- struct qstr *name, struct nfs_fh *fhandle,
|
|
|
+ const struct qstr *name, struct nfs_fh *fhandle,
|
|
|
struct nfs_fattr *fattr, struct nfs4_label *label)
|
|
|
{
|
|
|
struct nfs4_exception exception = { };
|
|
@@ -3572,7 +3572,7 @@ out:
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
-static int nfs4_proc_lookup(struct inode *dir, struct qstr *name,
|
|
|
+static int nfs4_proc_lookup(struct inode *dir, const struct qstr *name,
|
|
|
struct nfs_fh *fhandle, struct nfs_fattr *fattr,
|
|
|
struct nfs4_label *label)
|
|
|
{
|
|
@@ -3588,7 +3588,7 @@ static int nfs4_proc_lookup(struct inode *dir, struct qstr *name,
|
|
|
}
|
|
|
|
|
|
struct rpc_clnt *
|
|
|
-nfs4_proc_lookup_mountpoint(struct inode *dir, struct qstr *name,
|
|
|
+nfs4_proc_lookup_mountpoint(struct inode *dir, const struct qstr *name,
|
|
|
struct nfs_fh *fhandle, struct nfs_fattr *fattr)
|
|
|
{
|
|
|
struct rpc_clnt *client = NFS_CLIENT(dir);
|
|
@@ -3747,7 +3747,7 @@ out:
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
-static int _nfs4_proc_remove(struct inode *dir, struct qstr *name)
|
|
|
+static int _nfs4_proc_remove(struct inode *dir, const struct qstr *name)
|
|
|
{
|
|
|
struct nfs_server *server = NFS_SERVER(dir);
|
|
|
struct nfs_removeargs args = {
|
|
@@ -3770,7 +3770,7 @@ static int _nfs4_proc_remove(struct inode *dir, struct qstr *name)
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
-static int nfs4_proc_remove(struct inode *dir, struct qstr *name)
|
|
|
+static int nfs4_proc_remove(struct inode *dir, const struct qstr *name)
|
|
|
{
|
|
|
struct nfs4_exception exception = { };
|
|
|
int err;
|
|
@@ -3853,7 +3853,7 @@ static int nfs4_proc_rename_done(struct rpc_task *task, struct inode *old_dir,
|
|
|
return 1;
|
|
|
}
|
|
|
|
|
|
-static int _nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name)
|
|
|
+static int _nfs4_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name)
|
|
|
{
|
|
|
struct nfs_server *server = NFS_SERVER(inode);
|
|
|
struct nfs4_link_arg arg = {
|
|
@@ -3900,7 +3900,7 @@ out:
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
-static int nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name)
|
|
|
+static int nfs4_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name)
|
|
|
{
|
|
|
struct nfs4_exception exception = { };
|
|
|
int err;
|
|
@@ -3922,7 +3922,7 @@ struct nfs4_createdata {
|
|
|
};
|
|
|
|
|
|
static struct nfs4_createdata *nfs4_alloc_createdata(struct inode *dir,
|
|
|
- struct qstr *name, struct iattr *sattr, u32 ftype)
|
|
|
+ const struct qstr *name, struct iattr *sattr, u32 ftype)
|
|
|
{
|
|
|
struct nfs4_createdata *data;
|
|
|
|