patch-2.2.4 linux/fs/ncpfs/inode.c

Next file: linux/fs/nfs/file.c
Previous file: linux/fs/locks.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -472,7 +472,7 @@
 		goto out;
 
 	if (((attr->ia_valid & ATTR_GID) &&
-	     (attr->ia_uid != NCP_SERVER(inode)->m.gid)))
+	     (attr->ia_gid != NCP_SERVER(inode)->m.gid)))
 		goto out;
 
 	if (((attr->ia_valid & ATTR_MODE) &&

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