patch-2.1.103 linux/fs/dquot.c

Next file: linux/fs/ext2/dir.c
Previous file: linux/drivers/sound/pas2_mixer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/fs/dquot.c linux/fs/dquot.c
@@ -724,10 +724,10 @@
 	if (dqblk == (struct dqblk *)NULL)
 		return(-EFAULT);
 
-	if (flags & QUOTA_SYSCALL)
+	if (flags & QUOTA_SYSCALL) {
 		if ((error = copy_from_user((caddr_t)&dq_dqblk, (caddr_t)dqblk, sizeof(struct dqblk))) != 0)
 			return(error);
-	else
+	} else
 		memcpy((caddr_t)&dq_dqblk, (caddr_t)dqblk, sizeof(struct dqblk));
 
 	if ((dquot = dqget(dev, id, type)) != NODQUOT) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov