Whamcloud - gitweb
LU-3319 procfs: remove unsed proc entry for target handler 29/7929/2
authorJames Simmons <uja.ornl@gmail.com>
Fri, 11 Oct 2013 16:08:45 +0000 (12:08 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 03:05:33 +0000 (03:05 +0000)
With 3.10 and above kernels we end up using a new data
structure for proc handling. In the target handler code
we have an unsed lprocfs_vars so we remove it to avoid
compile issues.

Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: I22d3d3b1aed852df93e448d3b793884344d1719a
Reviewed-on: http://review.whamcloud.com/7929
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/target/tgt_main.c

index c34be01..bcf2b2f 100644 (file)
@@ -140,10 +140,6 @@ EXPORT_SYMBOL(tgt_session_key);
 
 LU_KEY_INIT_GENERIC(tgt_ses);
 
 
 LU_KEY_INIT_GENERIC(tgt_ses);
 
-struct lprocfs_vars lprocfs_srv_module_vars[] = {
-       { 0 },
-};
-
 int tgt_mod_init(void)
 {
        ENTRY;
 int tgt_mod_init(void)
 {
        ENTRY;