Commit 40cb5bc2 authored by Nathan Scott's avatar Nathan Scott

[XFS] Find a more suitable home for the xfsstats statistics structure.

SGI Modid: 2.5.x-xfs:slinx:133971a
parent 467578b9
...@@ -33,9 +33,16 @@ ...@@ -33,9 +33,16 @@
#include <xfs.h> #include <xfs.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
static int struct xfsstats xfsstats;
xfs_read_xfsstats(char *buffer, char **start, off_t offset,
int count, int *eof, void *data) STATIC int
xfs_read_xfsstats(
char *buffer,
char **start,
off_t offset,
int count,
int *eof,
void *data)
{ {
int i, j, len; int i, j, len;
static struct xstats_entry { static struct xstats_entry {
...@@ -88,9 +95,14 @@ xfs_read_xfsstats(char *buffer, char **start, off_t offset, ...@@ -88,9 +95,14 @@ xfs_read_xfsstats(char *buffer, char **start, off_t offset,
return len; return len;
} }
static int STATIC int
xfs_read_xfsquota(char *buffer, char **start, off_t offset, xfs_read_xfsquota(
int count, int *eof, void *data) char *buffer,
char **start,
off_t offset,
int count,
int *eof,
void *data)
{ {
int len; int len;
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
#include <xfs.h> #include <xfs.h>
#ifdef CONFIG_PROC_FS
struct xfsstats xfsstats;
#endif
/* /*
* xfs_get_dir_entry is used to get a reference to an inode given * xfs_get_dir_entry is used to get a reference to an inode given
* its parent directory inode and the name of the file. It does * its parent directory inode and the name of the file. It does
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment