summaryrefslogtreecommitdiff
path: root/include/linux/lockd/lockd.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-12 18:34:23 +0300
committerJ. Bruce Fields <bfields@redhat.com>2019-11-12 19:43:29 +0300
commitfb7dd0a1ba8690527c2394c6c55f909aa87d8f44 (patch)
tree86c3de3fec5209f12de0c42a1141f3a6d2873ba5 /include/linux/lockd/lockd.h
parentd05a0201969045f4c488f7cf1d024089949a68b6 (diff)
downloadlinux-fb7dd0a1ba8690527c2394c6c55f909aa87d8f44.tar.xz
lockd: 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>
Diffstat (limited to 'include/linux/lockd/lockd.h')
-rw-r--r--include/linux/lockd/lockd.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h
index d294dde9e546..666f5f310a04 100644
--- a/include/linux/lockd/lockd.h
+++ b/include/linux/lockd/lockd.h
@@ -10,8 +10,6 @@
#ifndef LINUX_LOCKD_LOCKD_H
#define LINUX_LOCKD_LOCKD_H
-#ifdef __KERNEL__
-
#include <linux/in.h>
#include <linux/in6.h>
#include <net/ipv6.h>
@@ -373,6 +371,4 @@ static inline int nlm_compare_locks(const struct file_lock *fl1,
extern const struct lock_manager_operations nlmsvc_lock_operations;
-#endif /* __KERNEL__ */
-
#endif /* LINUX_LOCKD_LOCKD_H */