summaryrefslogtreecommitdiff
path: root/quotaio_generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'quotaio_generic.h')
-rw-r--r--quotaio_generic.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/quotaio_generic.h b/quotaio_generic.h
index 422fb52..5edc11c 100644
--- a/quotaio_generic.h
+++ b/quotaio_generic.h
@@ -21,4 +21,10 @@ int vfs_get_dquot(struct dquot *dquot);
/* Set dquot in kernel */
int vfs_set_dquot(struct dquot *dquot, int flags);
+/* Generic routine for scanning dquots when quota format does not have
+ * better way */
+int generic_scan_dquots(struct quota_handle *h,
+ int (*process_dquot)(struct dquot *dquot, char *dqname),
+ int (*get_dquot)(struct dquot *dquot));
+
#endif