quota: Add callbacks for allocating and destroying dquot structures
authorJan Kara <jack@suse.cz>
Tue, 19 Aug 2008 12:51:22 +0000 (14:51 +0200)
committerMark Fasheh <mfasheh@suse.com>
Mon, 5 Jan 2009 16:36:55 +0000 (08:36 -0800)
commit74f783af95c982aef6d3a1415275650dcf511666
tree594e978641d31e05e170a56ec68f8c65b37bb649
parent9f868f16e40e9ad8e39aebff94a4be0d96520734
quota: Add callbacks for allocating and destroying dquot structures

Some filesystems would like to keep private information together with each
dquot. Add callbacks alloc_dquot and destroy_dquot allowing filesystem to
allocate larger dquots from their private slab in a similar fashion we
currently allocate inodes.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/dquot.c
include/linux/quota.h