Re: [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread tytso
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 

Thanks, applied.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread Jakub Sitnicki
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread 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 
---
 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 
 #include 
 #include 
-#include 
 #include 
 #include "ext4_jbd2.h"
 #include "ext4.h"
-- 
1.8.5.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread 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 jsitni...@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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread Jakub Sitnicki
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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h

2014-03-24 Thread tytso
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 jsitni...@gmail.com

Thanks, applied.

- Ted
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/