patch-2.3.42 linux/fs/nfsd/nfsproc.c

Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfsd/lockd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.41/linux/fs/nfsd/nfsproc.c linux/fs/nfsd/nfsproc.c
@@ -391,10 +391,6 @@
 						 argp->tname, argp->tlen,
 				 		 &newfh, &argp->attrs);
 
-	if (!nfserr) {
-		argp->attrs.ia_valid &= ~ATTR_SIZE;
-		nfserr = nfsd_setattr(rqstp, &newfh, &argp->attrs);
-	}
 
 	fh_put(&argp->ffh);
 	fh_put(&newfh);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)