Don't include private headers from user-visible parts of include/linux/nfs*.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -7,9 +7,6 @@
|
||||
#ifndef _LINUX_NFS_H
|
||||
#define _LINUX_NFS_H
|
||||
|
||||
#include <linux/sunrpc/msg_prot.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
#define NFS_PROGRAM 100003
|
||||
#define NFS_PORT 2049
|
||||
#define NFS_MAXDATA 8192
|
||||
@@ -129,7 +126,10 @@ enum nfs_ftype {
|
||||
NFFIFO = 8
|
||||
};
|
||||
|
||||
#if defined(__KERNEL__)
|
||||
#ifdef __KERNEL__
|
||||
#include <linux/sunrpc/msg_prot.h>
|
||||
#include <linux/string.h>
|
||||
|
||||
/*
|
||||
* This is the kernel NFS client file handle representation
|
||||
*/
|
||||
|
Reference in New Issue
Block a user