patch-2.2.2 linux/fs/nfsd/vfs.c
Next file: linux/fs/open.c
Previous file: linux/fs/nfsd/nfsproc.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Feb 15 16:34:59 1999
- Orig file:
v2.2.1/linux/fs/nfsd/vfs.c
- Orig date:
Thu Jan 28 12:58:02 1999
diff -u --recursive --new-file v2.2.1/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -734,7 +734,7 @@
* directories via NFS.
*/
err = 0;
- if ((iap->ia_valid &= (ATTR_UID|ATTR_GID|ATTR_MODE)) != 0)
+ if ((iap->ia_valid &= ~(ATTR_UID|ATTR_GID|ATTR_MODE)) != 0)
err = nfsd_setattr(rqstp, resfhp, iap);
out:
return err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)