diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index da5c9e58e907..a036e93bdf96 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -3538,7 +3538,7 @@ static void nfs_fixup_secinfo_attributes(struct nfs_fattr *fattr) | |||
3538 | } | 3538 | } |
3539 | 3539 | ||
3540 | static int nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir, | 3540 | static int nfs4_proc_lookup_common(struct rpc_clnt **clnt, struct inode *dir, |
3541 | struct qstr *name, struct nfs_fh *fhandle, | 3541 | const struct qstr *name, struct nfs_fh *fhandle, |
3542 | struct nfs_fattr *fattr, struct nfs4_label *label) | 3542 | struct nfs_fattr *fattr, struct nfs4_label *label) |
3543 | { | 3543 | { |
3544 | struct nfs4_exception exception = { }; | 3544 | struct nfs4_exception exception = { }; |
@@ -3580,7 +3580,7 @@ out: | |||
3580 | return err; | 3580 | return err; |
3581 | } | 3581 | } |
3582 | 3582 | ||
3583 | static int nfs4_proc_lookup(struct inode *dir, struct qstr *name, | 3583 | static int nfs4_proc_lookup(struct inode *dir, const struct qstr *name, |
3584 | struct nfs_fh *fhandle, struct nfs_fattr *fattr, | 3584 | struct nfs_fh *fhandle, struct nfs_fattr *fattr, |
3585 | struct nfs4_label *label) | 3585 | struct nfs4_label *label) |
3586 | { | 3586 | { |
@@ -3596,7 +3596,7 @@ static int nfs4_proc_lookup(struct inode *dir, struct qstr *name, | |||
3596 | } | 3596 | } |
3597 | 3597 | ||
3598 | struct rpc_clnt * | 3598 | struct rpc_clnt * |
3599 | nfs4_proc_lookup_mountpoint(struct inode *dir, struct qstr *name, | 3599 | nfs4_proc_lookup_mountpoint(struct inode *dir, const struct qstr *name, |
3600 | struct nfs_fh *fhandle, struct nfs_fattr *fattr) | 3600 | struct nfs_fh *fhandle, struct nfs_fattr *fattr) |
3601 | { | 3601 | { |
3602 | struct rpc_clnt *client = NFS_CLIENT(dir); | 3602 | struct rpc_clnt *client = NFS_CLIENT(dir); |
@@ -3755,7 +3755,7 @@ out: | |||
3755 | return status; | 3755 | return status; |
3756 | } | 3756 | } |
3757 | 3757 | ||
3758 | static int _nfs4_proc_remove(struct inode *dir, struct qstr *name) | 3758 | static int _nfs4_proc_remove(struct inode *dir, const struct qstr *name) |
3759 | { | 3759 | { |
3760 | struct nfs_server *server = NFS_SERVER(dir); | 3760 | struct nfs_server *server = NFS_SERVER(dir); |
3761 | struct nfs_removeargs args = { | 3761 | struct nfs_removeargs args = { |
@@ -3778,7 +3778,7 @@ static int _nfs4_proc_remove(struct inode *dir, struct qstr *name) | |||
3778 | return status; | 3778 | return status; |
3779 | } | 3779 | } |
3780 | 3780 | ||
3781 | static int nfs4_proc_remove(struct inode *dir, struct qstr *name) | 3781 | static int nfs4_proc_remove(struct inode *dir, const struct qstr *name) |
3782 | { | 3782 | { |
3783 | struct nfs4_exception exception = { }; | 3783 | struct nfs4_exception exception = { }; |
3784 | int err; | 3784 | int err; |
@@ -3861,7 +3861,7 @@ static int nfs4_proc_rename_done(struct rpc_task *task, struct inode *old_dir, | |||
3861 | return 1; | 3861 | return 1; |
3862 | } | 3862 | } |
3863 | 3863 | ||
3864 | static int _nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) | 3864 | static int _nfs4_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) |
3865 | { | 3865 | { |
3866 | struct nfs_server *server = NFS_SERVER(inode); | 3866 | struct nfs_server *server = NFS_SERVER(inode); |
3867 | struct nfs4_link_arg arg = { | 3867 | struct nfs4_link_arg arg = { |
@@ -3908,7 +3908,7 @@ out: | |||
3908 | return status; | 3908 | return status; |
3909 | } | 3909 | } |
3910 | 3910 | ||
3911 | static int nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) | 3911 | static int nfs4_proc_link(struct inode *inode, struct inode *dir, const struct qstr *name) |
3912 | { | 3912 | { |
3913 | struct nfs4_exception exception = { }; | 3913 | struct nfs4_exception exception = { }; |
3914 | int err; | 3914 | int err; |
@@ -3930,7 +3930,7 @@ struct nfs4_createdata { | |||
3930 | }; | 3930 | }; |
3931 | 3931 | ||
3932 | static struct nfs4_createdata *nfs4_alloc_createdata(struct inode *dir, | 3932 | static struct nfs4_createdata *nfs4_alloc_createdata(struct inode *dir, |
3933 | struct qstr *name, struct iattr *sattr, u32 ftype) | 3933 | const struct qstr *name, struct iattr *sattr, u32 ftype) |
3934 | { | 3934 | { |
3935 | struct nfs4_createdata *data; | 3935 | struct nfs4_createdata *data; |
3936 | 3936 | ||