Whamcloud - gitweb
LU-2489 mdc: Restrict access to hsm_nl file
[fs/lustre-release.git] / lustre / mdc / lproc_mdc.c
index cb497e3..4f25f36 100644 (file)
@@ -39,7 +39,6 @@
 #include <linux/vfs.h>
 #include <obd_class.h>
 #include <lprocfs_status.h>
-#include <lustre_log.h>
 
 #ifdef LPROCFS
 
@@ -162,7 +161,7 @@ static struct lprocfs_vars lprocfs_mdc_obd_vars[] = {
         { "timeouts",        lprocfs_rd_timeouts,    0, 0 },
         { "import",          lprocfs_rd_import,      lprocfs_wr_import, 0 },
         { "state",           lprocfs_rd_state,       0, 0 },
-        { "hsm_nl",          0, mdc_wr_kuc,          0, 0, 0222 },
+       { "hsm_nl",          0, mdc_wr_kuc,          0, 0, 0200 },
         { "pinger_recov",    lprocfs_rd_pinger_recov,
                              lprocfs_wr_pinger_recov, 0, 0 },
         { 0 }