From: Chengguang Xu <cgxu519@gmx.com>
To: jack@suse.com
Cc: linux-ext4@vger.kernel.org, Chengguang Xu <cgxu519@gmx.com>
Subject: [PATCH 01/10] ext2: fix coding style for acl.h
Date: Tue, 13 Nov 2018 08:04:39 +0800 [thread overview]
Message-ID: <20181113000448.16023-2-cgxu519@gmx.com> (raw)
In-Reply-To: <20181113000448.16023-1-cgxu519@gmx.com>
Fix various complains from checkpatch.pl
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
---
fs/ext2/acl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/ext2/acl.h b/fs/ext2/acl.h
index 0f01c759daac..768e490ac5e5 100644
--- a/fs/ext2/acl.h
+++ b/fs/ext2/acl.h
@@ -57,14 +57,14 @@ static inline int ext2_acl_count(size_t size)
/* acl.c */
extern struct posix_acl *ext2_get_acl(struct inode *inode, int type);
extern int ext2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
-extern int ext2_init_acl (struct inode *, struct inode *);
+extern int ext2_init_acl(struct inode *inode, struct inode *dir);
#else
#include <linux/sched.h>
#define ext2_get_acl NULL
#define ext2_set_acl NULL
-static inline int ext2_init_acl (struct inode *inode, struct inode *dir)
+static inline int ext2_init_acl(struct inode *inode, struct inode *dir)
{
return 0;
}
--
2.17.2
next prev parent reply other threads:[~2018-11-13 10:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-13 0:04 [PATCH 00/10] fix coding style for ext2 filesystem Chengguang Xu
2018-11-13 0:04 ` Chengguang Xu [this message]
2018-11-13 0:04 ` [PATCH 02/10] ext2: fix coding style for balloc.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 03/10] ext2: fix coding style for dir.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 04/10] ext2: fix coding style for ext2.h Chengguang Xu
2018-11-13 0:04 ` [PATCH 05/10] ext2: fix coding style for inode.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 06/10] ext2: fix coding style for file.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 07/10] ext2: fix coding style for ialloc.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 08/10] ext2: fix coding style for namei.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 09/10] ext2: fix coding style for super.c Chengguang Xu
2018-11-13 0:04 ` [PATCH 10/10] ext2: fix coding style for xattr.c Chengguang Xu
2018-12-12 13:15 ` [PATCH 00/10] fix coding style for ext2 filesystem Jan Kara
2018-12-12 13:49 ` cgxu519
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181113000448.16023-2-cgxu519@gmx.com \
--to=cgxu519@gmx.com \
--cc=jack@suse.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).