Skip to content

Commit

Permalink
nfsd: move <linux/nfsd/stats.h> to fs/nfsd
Browse files Browse the repository at this point in the history
There are no legitimate users outside of fs/nfsd, so move it there.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
  • Loading branch information
Christoph Hellwig authored and J. Bruce Fields committed May 6, 2014
1 parent d430e8d commit 7f94423
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion fs/nfsd/nfsd.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#include <linux/sunrpc/msg_prot.h>

#include <linux/nfsd/debug.h>
#include <linux/nfsd/stats.h>

#include "stats.h"
#include "export.h"

/*
Expand Down
1 change: 0 additions & 1 deletion fs/nfsd/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <linux/seq_file.h>
#include <linux/module.h>
#include <linux/sunrpc/stats.h>
#include <linux/nfsd/stats.h>
#include <net/net_namespace.h>

#include "nfsd.h"
Expand Down
8 changes: 3 additions & 5 deletions include/linux/nfsd/stats.h → fs/nfsd/stats.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/*
* linux/include/linux/nfsd/stats.h
*
* Statistics for NFS server.
*
* Copyright (C) 1995, 1996 Olaf Kirch <[email protected]>
*/
#ifndef LINUX_NFSD_STATS_H
#define LINUX_NFSD_STATS_H
#ifndef _NFSD_STATS_H
#define _NFSD_STATS_H

#include <uapi/linux/nfsd/stats.h>

Expand Down Expand Up @@ -42,4 +40,4 @@ extern struct svc_stat nfsd_svcstats;
void nfsd_stat_init(void);
void nfsd_stat_shutdown(void);

#endif /* LINUX_NFSD_STATS_H */
#endif /* _NFSD_STATS_H */

0 comments on commit 7f94423

Please sign in to comment.