[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230425030118.4982-1-haifeng.xu@shopee.com>
Date: Tue, 25 Apr 2023 03:01:17 +0000
From: Haifeng Xu <haifeng.xu@...pee.com>
To: torvalds@...ux-foundation.org
Cc: viro@...iv.linux.org.uk, mszeredi@...hat.com,
bigeasy@...utronix.de, mcgrof@...nel.org, xiubli@...hat.com,
linux-kernel@...r.kernel.org, Haifeng Xu <haifeng.xu@...pee.com>
Subject: [PATCH 1/2] security: fix code style problem in security_inode_rename()
Code indent should use tabs where possible
Signed-off-by: Haifeng Xu <haifeng.xu@...pee.com>
---
security/security.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/security.c b/security/security.c
index cf6cc576736f..af83d4eb4f1e 100644
--- a/security/security.c
+++ b/security/security.c
@@ -1317,8 +1317,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) {
--
2.25.1
Powered by blists - more mailing lists