[PATCH] quota: possible bug in quota format v2 support
authorNiu YaWei <niu@clusterfs.com>
Sat, 16 Apr 2005 22:25:47 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:47 +0000 (15:25 -0700)
commite821d94d34af23a31a16ead78e8b685b750c8c3d
treecb753d2d4e45c02c4c006383fa4d5d8dfba7a3c6
parent31e7ad6ac919761f0486f7781b02ff3ab54b6ef1
[PATCH] quota: possible bug in quota format v2 support

Don't put root block of quota tree to the free list (when quota file is
completely empty).  That should not actually happen anyway (somebody should
get accounted for the filesystem root and so quota file should never be
empty) but better prevent it here than solve magical quota file
corruption.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/quota_v2.c