aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r--fs/nfs/proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c
index b63b6f4d14fb..d6408b6437de 100644
--- a/fs/nfs/proc.c
+++ b/fs/nfs/proc.c
@@ -335,8 +335,7 @@ nfs_proc_remove(struct inode *dir, struct qstr *name)
335{ 335{
336 struct nfs_removeargs arg = { 336 struct nfs_removeargs arg = {
337 .fh = NFS_FH(dir), 337 .fh = NFS_FH(dir),
338 .name.len = name->len, 338 .name = *name,
339 .name.name = name->name,
340 }; 339 };
341 struct rpc_message msg = { 340 struct rpc_message msg = {
342 .rpc_proc = &nfs_procedures[NFSPROC_REMOVE], 341 .rpc_proc = &nfs_procedures[NFSPROC_REMOVE],