aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dquot.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dquot.c')
-rw-r--r--fs/dquot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/dquot.c b/fs/dquot.c
index 075dc76904e7..61bfff64e5af 100644
--- a/fs/dquot.c
+++ b/fs/dquot.c
@@ -413,10 +413,11 @@ out_dqlock:
413 return ret; 413 return ret;
414} 414}
415 415
416static void dquot_destroy(struct dquot *dquot) 416void dquot_destroy(struct dquot *dquot)
417{ 417{
418 kmem_cache_free(dquot_cachep, dquot); 418 kmem_cache_free(dquot_cachep, dquot);
419} 419}
420EXPORT_SYMBOL(dquot_destroy);
420 421
421static inline void do_destroy_dquot(struct dquot *dquot) 422static inline void do_destroy_dquot(struct dquot *dquot)
422{ 423{
@@ -668,10 +669,11 @@ we_slept:
668 spin_unlock(&dq_list_lock); 669 spin_unlock(&dq_list_lock);
669} 670}
670 671
671static struct dquot *dquot_alloc(struct super_block *sb, int type) 672struct dquot *dquot_alloc(struct super_block *sb, int type)
672{ 673{
673 return kmem_cache_zalloc(dquot_cachep, GFP_NOFS); 674 return kmem_cache_zalloc(dquot_cachep, GFP_NOFS);
674} 675}
676EXPORT_SYMBOL(dquot_alloc);
675 677
676static struct dquot *get_empty_dquot(struct super_block *sb, int type) 678static struct dquot *get_empty_dquot(struct super_block *sb, int type)
677{ 679{