#define DEBUG_SUBSYSTEM S_CLASS
#include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0))
#include <asm/statfs.h>
-#endif
#include <lprocfs_status.h>
#include <obd_class.h>
#include <linux/seq_file.h>
struct proc_dir_entry *dp = PDE(inode);
struct seq_file *seq;
int rc;
-
+
LPROCFS_ENTRY_AND_CHECK(dp);
rc = seq_open(file, &lov_tgt_sops);
if (rc) {