[vhffs-dev] [944] oops...

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 944
Author:   gradator
Date:     2007-09-21 16:55:15 +0000 (Fri, 21 Sep 2007)

Log Message:
-----------
oops...

Modified Paths:
--------------
    trunk/vhffs-fs/vhffsfs.c


Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c	2007-09-21 16:54:36 UTC (rev 943)
+++ trunk/vhffs-fs/vhffsfs.c	2007-09-21 16:55:15 UTC (rev 944)
@@ -1641,7 +1641,7 @@
 	rpath = vhffsfs_realpath(path, &uid, &gid);
 	if(!rpath) return -ENOENT;
 
-	res = vhffsfs_checkquota_gid_with_realpath(rpath, gid, (size << 10) +1, 0);
+	res = vhffsfs_checkquota_gid_with_realpath(rpath, gid, (size >> 10) +1, 0);
 	free(rpath);
 	if(res) return -EDQUOT;
 #endif


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/