lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181113000448.16023-11-cgxu519@gmx.com>
Date:   Tue, 13 Nov 2018 08:04:48 +0800
From:   Chengguang Xu <cgxu519@....com>
To:     jack@...e.com
Cc:     linux-ext4@...r.kernel.org, Chengguang Xu <cgxu519@....com>
Subject: [PATCH 10/10] ext2: fix coding style for xattr.c

Fix various complains from checkpatch.pl

Signed-off-by: Chengguang Xu <cgxu519@....com>
---
 fs/ext2/xattr.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c
index 62d9a659a8ff..7908ff3a1884 100644
--- a/fs/ext2/xattr.c
+++ b/fs/ext2/xattr.c
@@ -88,14 +88,15 @@
 # define ea_bdebug(f...)
 #endif
 
-static int ext2_xattr_set2(struct inode *, struct buffer_head *,
-			   struct ext2_xattr_header *);
-
-static int ext2_xattr_cache_insert(struct mb_cache *, struct buffer_head *);
-static struct buffer_head *ext2_xattr_cache_find(struct inode *,
-						 struct ext2_xattr_header *);
-static void ext2_xattr_rehash(struct ext2_xattr_header *,
-			      struct ext2_xattr_entry *);
+static int ext2_xattr_set2(struct inode *inode, struct buffer_head *old_bh,
+			   struct ext2_xattr_header *header);
+
+static int ext2_xattr_cache_insert(struct mb_cache *cache,
+				   struct buffer_head *bh);
+static struct buffer_head *ext2_xattr_cache_find(struct inode *inode,
+					 struct ext2_xattr_header *header);
+static void ext2_xattr_rehash(struct ext2_xattr_header *header,
+			      struct ext2_xattr_entry *entry);
 
 static const struct xattr_handler *ext2_xattr_handler_map[] = {
 	[EXT2_XATTR_INDEX_USER]		     = &ext2_xattr_user_handler,
-- 
2.17.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ