Whamcloud - gitweb
LU-2489 mdc: Restrict access to hsm_nl file
[fs/lustre-release.git] / lustre / mdc / lproc_mdc.c
index 1593cf2..4f25f36 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
  * GPL HEADER START
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41,7 +39,6 @@
 #include <linux/vfs.h>
 #include <obd_class.h>
 #include <lprocfs_status.h>
-#include <lustre_log.h>
 
 #ifdef LPROCFS
 
@@ -164,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 }