]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - fs/gfs2/acl.h
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[mirror_ubuntu-jammy-kernel.git] / fs / gfs2 / acl.h
CommitLineData
7336d0e6 1/* SPDX-License-Identifier: GPL-2.0-only */
b3b94faa
DT
2/*
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3a8a9a10 4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
b3b94faa
DT
5 */
6
7#ifndef __ACL_DOT_H__
8#define __ACL_DOT_H__
9
f2f7ba52
SW
10#include "incore.h"
11
b00263d1 12#define GFS2_ACL_MAX_ENTRIES(sdp) ((300 << (sdp)->sd_sb.sb_bsize_shift) >> 12)
b3b94faa 13
4e34e719 14extern struct posix_acl *gfs2_get_acl(struct inode *inode, int type);
1a39ba99 15extern int __gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
e01580bf 16extern int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
b3b94faa
DT
17
18#endif /* __ACL_DOT_H__ */