[Devel] [PATCH vz7 v2 4/7] ub statd: move header file from include/ to uapi/

Stanislav Kinsburskiy skinsbursky at odin.com
Thu Oct 1 06:38:33 PDT 2015


From: Stanislav Kinsburskiy <skinsbursky at parallels.com>

This header doesn't contain kernel parts anymore and can be moved to user
slace headers uapi/.

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at parallels.com>
---
 include/uapi/linux/bc/statd.h |    0 
 kernel/bc/statd.c             |    2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/{bc/statd.h => uapi/linux/bc/statd.h} (100%)

diff --git a/include/bc/statd.h b/include/uapi/linux/bc/statd.h
similarity index 100%
rename from include/bc/statd.h
rename to include/uapi/linux/bc/statd.h
diff --git a/kernel/bc/statd.c b/kernel/bc/statd.c
index f2b984c..b421ac1 100644
--- a/kernel/bc/statd.c
+++ b/kernel/bc/statd.c
@@ -23,7 +23,7 @@
 #include <asm/param.h>
 
 #include <bc/beancounter.h>
-#include <bc/statd.h>
+#include <uapi/linux/bc/statd.h>
 
 static DEFINE_SPINLOCK(ubs_notify_lock);
 static LIST_HEAD(ubs_notify_list);




More information about the Devel mailing list