patch-2.1.104 linux/fs/dquot.c

Next file: linux/fs/exec.c
Previous file: linux/fs/coda/upcall.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/fs/dquot.c linux/fs/dquot.c
@@ -1169,7 +1169,7 @@
 	}
 
 	if (inode->i_size == 0 || (inode->i_size % sizeof(struct dqblk)) != 0) {
-		iput(inode);
+		dput(dentry);
 		return(-EINVAL);
 	}
 

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