Fix various complains from checkpatch.pl Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx> --- 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