Whamcloud - gitweb
LU-1182 ofd: add space accounting support
[fs/lustre-release.git] / lustre / ofd / lproc_ofd.c
index 28f5ab4..64c046d 100644 (file)
@@ -41,6 +41,7 @@
 #include <obd.h>
 #include <lprocfs_status.h>
 #include <linux/seq_file.h>
+#include <lquota.h>
 
 #include "ofd_internal.h"
 
@@ -463,6 +464,9 @@ static struct lprocfs_vars lprocfs_ofd_obd_vars[] = {
        { "capa",                lprocfs_ofd_rd_capa,
                                 lprocfs_ofd_wr_capa, 0 },
        { "capa_count",          lprocfs_ofd_rd_capa_count, 0, 0 },
+       /* we still register a fake quota type file for backward compatibility*/
+       { "quota_type",          lprocfs_quota_rd_type_dumb,
+                                lprocfs_quota_wr_type_dumb, 0},
        { 0 }
 };