summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-19 02:38:10 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-19 02:38:10 -0700
commite69c0c5523167790d7231e0d759e9f62b16d696b (patch)
tree6aa1b0503cf137a72a46421e1eb82e66c1755351 /include/linux
parentcfeff00490d9b29aa802a0651a1c53fd0ba0771e (diff)
[PATCH] Quota fix 3 - quota file corruption
From: Jan Kara <jack@ucw.cz> This patch fixes possible quota files corruption which could happen when root did not have any inodes&space allocated. Originally this could not happen as structure would not be written to disk in that case but with journalled quota we need to write even all-zero structure. The fix is not very nice but change of the format on disk is probably worse (I made a mistake with not including the usage-bitmaps into format :().
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/quotaio_v2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/quotaio_v2.h b/include/linux/quotaio_v2.h
index da4e02730bc8..f18ced911939 100644
--- a/include/linux/quotaio_v2.h
+++ b/include/linux/quotaio_v2.h
@@ -59,7 +59,7 @@ struct v2_disk_dqinfo {
/*
* Structure of header of block with quota structures. It is padded to 16 bytes so
- * there will be space for exactly 18 quota-entries in a block
+ * there will be space for exactly 21 quota-entries in a block
*/
struct v2_disk_dqdbheader {
__u32 dqdh_next_free; /* Number of next block with free entry */