Skip to contentSkip to conversation

ext4: acl: remove unneeded include of linux/capability.h

PATCH Applied Jakub Sitnicki 2 participants 3 messages Mar 24, 2014 ext4 file system

lore
Share & tools
lore
#0 lore raw

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

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.

---
 fs/ext4/acl.c | 1 -
 1 file changed, 1 deletion(-)
fs/ext4/acl.c +0 -1
index d40c8db..26e880e 100644
@@ -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"
Signature · 1 line
1.8.5.3
#1 lore raw

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