mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
staging: erofs: Add identifier for function definition arguments
Add identifier for function definition arguments in xattr_iter_handlers, this change clears the checkpatch.pl issue and make code more explicit. Signed-off-by: Sidong Yang <realwakka@gmail.com> Reviewed-by: Gao Xiang <gaoxiang25@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e7dfb1cff6
commit
4b03f3f4cc
1 changed files with 6 additions and 4 deletions
|
@ -117,10 +117,12 @@ static int init_inode_xattrs(struct inode *inode)
|
||||||
* and need to be handled
|
* and need to be handled
|
||||||
*/
|
*/
|
||||||
struct xattr_iter_handlers {
|
struct xattr_iter_handlers {
|
||||||
int (*entry)(struct xattr_iter *, struct erofs_xattr_entry *);
|
int (*entry)(struct xattr_iter *_it, struct erofs_xattr_entry *entry);
|
||||||
int (*name)(struct xattr_iter *, unsigned int, char *, unsigned int);
|
int (*name)(struct xattr_iter *_it, unsigned int processed, char *buf,
|
||||||
int (*alloc_buffer)(struct xattr_iter *, unsigned int);
|
unsigned int len);
|
||||||
void (*value)(struct xattr_iter *, unsigned int, char *, unsigned int);
|
int (*alloc_buffer)(struct xattr_iter *_it, unsigned int value_sz);
|
||||||
|
void (*value)(struct xattr_iter *_it, unsigned int processed, char *buf,
|
||||||
|
unsigned int len);
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline int xattr_iter_fixup(struct xattr_iter *it)
|
static inline int xattr_iter_fixup(struct xattr_iter *it)
|
||||||
|
|
Loading…
Reference in a new issue