From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755199AbbGPQV0 (ORCPT ); Thu, 16 Jul 2015 12:21:26 -0400 Received: from mail-wi0-f196.google.com ([209.85.212.196]:34050 "EHLO mail-wi0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbbGPQVX (ORCPT ); Thu, 16 Jul 2015 12:21:23 -0400 Message-ID: <1437063676.25587.5.camel@My-Computer> Subject: [PATCH] Security.c: fix 3 coding style indentation errors From: Ahmed Mohamed Abd EL Mawgood To: james.l.morris@oracle.com Cc: serge@hallyn.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 16 Jul 2015 18:21:16 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>From 34330e77b9dfec43e65de069e83ca41cc145ed07 Mon Sep 17 00:00:00 2001 From: ahmed Date: Thu, 16 Jul 2015 17:12:52 +0200 Subject: [PATCH] Security.c: fix 3 coding style indentation errors This is my first patch to get my hand dirty 3 simple indentation errors fixing withen security/security.c Signed-off-by: Ahmed Mohamed --- security/security.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/security/security.c b/security/security.c index 595fffa..99c2d3b 100644 --- a/security/security.c +++ b/security/security.c @@ -308,7 +308,7 @@ int security_sb_statfs(struct dentry *dentry) } int security_sb_mount(const char *dev_name, struct path *path, - const char *type, unsigned long flags, void *data) + const char *type, unsigned long flags, void *data) { return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data); } @@ -567,8 +567,8 @@ int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags) { - if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || - (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) + if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) || + (d_is_positive(new_dentry) && IS_PRIVATE(d_backing_inode(new_dentry))))) return 0; if (flags & RENAME_EXCHANGE) { -- 1.9.1