mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 23:36:40 +07:00
348662a142
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
30 lines
529 B
C
30 lines
529 B
C
#ifndef _FS_CEPH_AUTH_NONE_H
|
|
#define _FS_CEPH_AUTH_NONE_H
|
|
|
|
#include <linux/slab.h>
|
|
#include <linux/ceph/auth.h>
|
|
|
|
/*
|
|
* null security mode.
|
|
*
|
|
* we use a single static authorizer that simply encodes our entity name
|
|
* and global id.
|
|
*/
|
|
|
|
struct ceph_none_authorizer {
|
|
char buf[128];
|
|
int buf_len;
|
|
char reply_buf[0];
|
|
};
|
|
|
|
struct ceph_auth_none_info {
|
|
bool starting;
|
|
bool built_authorizer;
|
|
struct ceph_none_authorizer au; /* we only need one; it's static */
|
|
};
|
|
|
|
int ceph_auth_none_init(struct ceph_auth_client *ac);
|
|
|
|
#endif
|
|
|