* [PATCH] uapi/linux/quota.h: Do not include linux/errno.h
@ 2017-08-11 14:24 Florian Weimer
2017-08-14 9:54 ` Jan Kara
0 siblings, 1 reply; 2+ messages in thread
From: Florian Weimer @ 2017-08-11 14:24 UTC (permalink / raw)
To: Jan Kara, linux-kernel; +Cc: linux-fsdevel
linux/errno.h is very sensitive to coordination with libc headers.
Nothing in linux/quota.h needs it, so this change allows using
this header in more contexts.
Signed-off-by: Florian Weimer <fweimer@redhat.com>
---
include/uapi/linux/quota.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/uapi/linux/quota.h b/include/uapi/linux/quota.h
index 4d2489ef6f10..f17c9636a859 100644
--- a/include/uapi/linux/quota.h
+++ b/include/uapi/linux/quota.h
@@ -33,7 +33,6 @@
#ifndef _UAPI_LINUX_QUOTA_
#define _UAPI_LINUX_QUOTA_
-#include <linux/errno.h>
#include <linux/types.h>
#define __DQUOT_VERSION__ "dquot_6.6.0"
--
2.13.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] uapi/linux/quota.h: Do not include linux/errno.h
2017-08-11 14:24 [PATCH] uapi/linux/quota.h: Do not include linux/errno.h Florian Weimer
@ 2017-08-14 9:54 ` Jan Kara
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2017-08-14 9:54 UTC (permalink / raw)
To: Florian Weimer; +Cc: Jan Kara, linux-kernel, linux-fsdevel
On Fri 11-08-17 16:24:15, Florian Weimer wrote:
> linux/errno.h is very sensitive to coordination with libc headers.
> Nothing in linux/quota.h needs it, so this change allows using
> this header in more contexts.
>
> Signed-off-by: Florian Weimer <fweimer@redhat.com>
Thanks! Added to my tree.
Honza
> ---
> include/uapi/linux/quota.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/include/uapi/linux/quota.h b/include/uapi/linux/quota.h
> index 4d2489ef6f10..f17c9636a859 100644
> --- a/include/uapi/linux/quota.h
> +++ b/include/uapi/linux/quota.h
> @@ -33,7 +33,6 @@
> #ifndef _UAPI_LINUX_QUOTA_
> #define _UAPI_LINUX_QUOTA_
>
> -#include <linux/errno.h>
> #include <linux/types.h>
>
> #define __DQUOT_VERSION__ "dquot_6.6.0"
> --
> 2.13.4
>
>
--
Jan Kara <jack@suse.com>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-14 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-11 14:24 [PATCH] uapi/linux/quota.h: Do not include linux/errno.h Florian Weimer
2017-08-14 9:54 ` Jan Kara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).