diff mbox series

apparmor: clean an indentation issue, remove extraneous space

Message ID 20181030141131.3258-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show
Series apparmor: clean an indentation issue, remove extraneous space | expand

Commit Message

Colin King Oct. 30, 2018, 2:11 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to clean up an indentation issue, remove space

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 security/apparmor/apparmorfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Johansen Oct. 31, 2018, 9:13 a.m. UTC | #1
On 10/30/18 7:11 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to clean up an indentation issue, remove space
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Thanks Colin,

I have pulled this into apparmor-next

> ---
>  security/apparmor/apparmorfs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
> index 658b85639006..33f89b3f28a4 100644
> --- a/security/apparmor/apparmorfs.c
> +++ b/security/apparmor/apparmorfs.c
> @@ -1744,7 +1744,7 @@ static int ns_rmdir_op(struct inode *dir, struct dentry *dentry)
>  	if (error)
>  		return error;
>  
> -	 parent = aa_get_ns(dir->i_private);
> +	parent = aa_get_ns(dir->i_private);
>  	/* rmdir calls the generic securityfs functions to remove files
>  	 * from the apparmor dir. It is up to the apparmor ns locking
>  	 * to avoid races.
>
diff mbox series

Patch

diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 658b85639006..33f89b3f28a4 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -1744,7 +1744,7 @@  static int ns_rmdir_op(struct inode *dir, struct dentry *dentry)
 	if (error)
 		return error;
 
-	 parent = aa_get_ns(dir->i_private);
+	parent = aa_get_ns(dir->i_private);
 	/* rmdir calls the generic securityfs functions to remove files
 	 * from the apparmor dir. It is up to the apparmor ns locking
 	 * to avoid races.