mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Mark functions as static
Mark functions used only in the same translation unit as static. This only includes functions that do not have a prototype in a header file either. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10470
This commit is contained in:
committed by
Brian Behlendorf
parent
1fa5c7af33
commit
65c7cc49bf
@@ -148,7 +148,7 @@ zpl_xattr_filldir(xattr_filldir_t *xf, const char *name, int name_len)
|
||||
* Read as many directory entry names as will fit in to the provided buffer,
|
||||
* or when no buffer is provided calculate the required buffer size.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
zpl_xattr_readdir(struct inode *dxip, xattr_filldir_t *xf)
|
||||
{
|
||||
zap_cursor_t zc;
|
||||
@@ -920,6 +920,9 @@ xattr_handler_t zpl_xattr_security_handler = {
|
||||
* attribute implemented by filesystems in the kernel." - xattr(7)
|
||||
*/
|
||||
#ifdef CONFIG_FS_POSIX_ACL
|
||||
#ifndef HAVE_SET_ACL
|
||||
static
|
||||
#endif
|
||||
int
|
||||
zpl_set_acl(struct inode *ip, struct posix_acl *acl, int type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user