* [PATCH 1/2] ext2: acl: remove unneeded include of linux/capability.h
@ 2014-03-24 7:21 Jakub Sitnicki
2014-03-24 12:20 ` Jakub Sitnicki
2014-04-01 21:38 ` Jan Kara
0 siblings, 2 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2014-03-24 7:21 UTC (permalink / raw)
To: jack; +Cc: linux-ext4, linux-kernel, Jakub Sitnicki
acl.c has not been (directly) using the interface defined by
linux/capability.h header since commit 3bd858ab1c451725c07a
("Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid
check"). Remove it.
Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>
---
fs/ext2/acl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c
index 1b8001b..27695e6 100644
--- a/fs/ext2/acl.c
+++ b/fs/ext2/acl.c
@@ -4,7 +4,6 @@
* Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
*/
-#include <linux/capability.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/slab.h>
--
1.8.5.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ext2: acl: remove unneeded include of linux/capability.h
2014-03-24 7:21 [PATCH 1/2] ext2: acl: remove unneeded include of linux/capability.h Jakub Sitnicki
@ 2014-03-24 12:20 ` Jakub Sitnicki
2014-04-01 21:38 ` Jan Kara
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2014-03-24 12:20 UTC (permalink / raw)
To: jack; +Cc: linux-ext4, linux-kernel
Please ignore the patch sequence number. It is a single patch, not a
part of a series.
Newbie mistake. Please let me know if I should resend the patch.
Thanks,
Jakub
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ext2: acl: remove unneeded include of linux/capability.h
2014-03-24 7:21 [PATCH 1/2] ext2: acl: remove unneeded include of linux/capability.h Jakub Sitnicki
2014-03-24 12:20 ` Jakub Sitnicki
@ 2014-04-01 21:38 ` Jan Kara
1 sibling, 0 replies; 3+ messages in thread
From: Jan Kara @ 2014-04-01 21:38 UTC (permalink / raw)
To: Jakub Sitnicki; +Cc: jack, linux-ext4, linux-kernel
On Mon 24-03-14 08:21:24, Jakub Sitnicki wrote:
> acl.c has not been (directly) using the interface defined by
> linux/capability.h header since commit 3bd858ab1c451725c07a
> ("Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid
> check"). Remove it.
Thanks. I've merged the patch.
Honza
>
> Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>
> ---
> fs/ext2/acl.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c
> index 1b8001b..27695e6 100644
> --- a/fs/ext2/acl.c
> +++ b/fs/ext2/acl.c
> @@ -4,7 +4,6 @@
> * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>
> */
>
> -#include <linux/capability.h>
> #include <linux/init.h>
> #include <linux/sched.h>
> #include <linux/slab.h>
> --
> 1.8.5.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-01 21:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-24 7:21 [PATCH 1/2] ext2: acl: remove unneeded include of linux/capability.h Jakub Sitnicki
2014-03-24 12:20 ` Jakub Sitnicki
2014-04-01 21:38 ` 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).