diff options
author | Jan Kara <jack@suse.cz> | 2008-11-25 09:31:32 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-01-05 11:40:25 -0500 |
commit | 7d9056ba20ebed6e3937a2e23183f6117919cb00 (patch) | |
tree | 3aefa0f187630fdbdefcec9e726155f2678cd1ab /include | |
parent | 5cd9d5bb86daf632a40f90e2321ea9379e42f073 (diff) |
quota: Export dquot_alloc() and dquot_destroy() functions
These are default functions for creating and destroying quota structures
and they should be used from filesystems.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/quotaops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index f4913948c305..21b781a3350f 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -31,6 +31,8 @@ int dquot_is_cached(struct super_block *sb, unsigned int id, int type); | |||
31 | int dquot_scan_active(struct super_block *sb, | 31 | int dquot_scan_active(struct super_block *sb, |
32 | int (*fn)(struct dquot *dquot, unsigned long priv), | 32 | int (*fn)(struct dquot *dquot, unsigned long priv), |
33 | unsigned long priv); | 33 | unsigned long priv); |
34 | struct dquot *dquot_alloc(struct super_block *sb, int type); | ||
35 | void dquot_destroy(struct dquot *dquot); | ||
34 | 36 | ||
35 | int dquot_alloc_space(struct inode *inode, qsize_t number, int prealloc); | 37 | int dquot_alloc_space(struct inode *inode, qsize_t number, int prealloc); |
36 | int dquot_alloc_inode(const struct inode *inode, qsize_t number); | 38 | int dquot_alloc_inode(const struct inode *inode, qsize_t number); |