All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h
@ 2014-03-24  7:22 Jakub Sitnicki
  2014-03-24 12:20 ` Jakub Sitnicki
  2014-03-24 23:00 ` tytso
  0 siblings, 2 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2014-03-24  7:22 UTC (permalink / raw)
  To: tytso, adilger.kernel; +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/ext4/acl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/acl.c b/fs/ext4/acl.c
index d40c8db..26e880e 100644
--- a/fs/ext4/acl.c
+++ b/fs/ext4/acl.c
@@ -7,7 +7,6 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
-#include <linux/capability.h>
 #include <linux/fs.h>
 #include "ext4_jbd2.h"
 #include "ext4.h"
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h
  2014-03-24  7:22 [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h Jakub Sitnicki
@ 2014-03-24 12:20 ` Jakub Sitnicki
  2014-03-24 23:00 ` tytso
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Sitnicki @ 2014-03-24 12:20 UTC (permalink / raw)
  To: tytso, adilger.kernel; +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 2/2] ext4: acl: remove unneeded include of linux/capability.h
  2014-03-24  7:22 [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h Jakub Sitnicki
  2014-03-24 12:20 ` Jakub Sitnicki
@ 2014-03-24 23:00 ` tytso
  1 sibling, 0 replies; 3+ messages in thread
From: tytso @ 2014-03-24 23:00 UTC (permalink / raw)
  To: Jakub Sitnicki; +Cc: adilger.kernel, linux-ext4, linux-kernel

On Mon, Mar 24, 2014 at 08:22:12AM +0100, 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.
> 
> Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>

Thanks, applied.

					- Ted

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-24 23:00 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:22 [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h Jakub Sitnicki
2014-03-24 12:20 ` Jakub Sitnicki
2014-03-24 23:00 ` tytso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.