[vhffs-dev] [943] Well, I should not forget that a block is more than one byte |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 943
Author: gradator
Date: 2007-09-21 16:54:36 +0000 (Fri, 21 Sep 2007)
Log Message:
-----------
Well, I should not forget that a block is more than one byte
Modified Paths:
--------------
trunk/vhffs-fs/vhffsfs.c
Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c 2007-09-21 16:51:01 UTC (rev 942)
+++ trunk/vhffs-fs/vhffsfs.c 2007-09-21 16:54:36 UTC (rev 943)
@@ -1641,7 +1641,7 @@
rpath = vhffsfs_realpath(path, &uid, &gid);
if(!rpath) return -ENOENT;
- res = vhffsfs_checkquota_gid_with_realpath(rpath, gid, size, 0);
+ res = vhffsfs_checkquota_gid_with_realpath(rpath, gid, (size << 10) +1, 0);
free(rpath);
if(res) return -EDQUOT;
#endif