aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 99650aaf8937..ab985f6f0da8 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2782,8 +2782,7 @@ static int _nfs4_proc_remove(struct inode *dir, struct qstr *name)
2782 struct nfs_server *server = NFS_SERVER(dir); 2782 struct nfs_server *server = NFS_SERVER(dir);
2783 struct nfs_removeargs args = { 2783 struct nfs_removeargs args = {
2784 .fh = NFS_FH(dir), 2784 .fh = NFS_FH(dir),
2785 .name.len = name->len, 2785 .name = *name,
2786 .name.name = name->name,
2787 .bitmask = server->attr_bitmask, 2786 .bitmask = server->attr_bitmask,
2788 }; 2787 };
2789 struct nfs_removeres res = { 2788 struct nfs_removeres res = {