lkml.org 
[lkml]   [2014]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] ext4: acl: remove unneeded include of linux/capability.h
Date
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


\
 
 \ /
  Last update: 2014-03-24 09:01    [W:0.041 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site