sunrpc: remove __KERNEL__ ifdefs
Remove the __KERNEL__ ifdefs from the non-UAPI sunrpc headers, as those can't be included from user space programs. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:

committed by
J. Bruce Fields

parent
581ae686f2
commit
d05a020196
@@ -2,8 +2,6 @@
|
||||
#ifndef _LINUX_SUNRPC_RPC_PIPE_FS_H
|
||||
#define _LINUX_SUNRPC_RPC_PIPE_FS_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#include <linux/workqueue.h>
|
||||
|
||||
struct rpc_pipe_dir_head {
|
||||
@@ -133,4 +131,3 @@ extern void unregister_rpc_pipefs(void);
|
||||
extern bool gssd_running(struct net *net);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user