linux/fs/9p/acl.c

// SPDX-License-Identifier: LGPL-2.1
/*
 * Copyright IBM Corporation, 2010
 * Author Aneesh Kumar K.V <[email protected]>
 */

#include <linux/module.h>
#include <linux/fs.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/posix_acl_xattr.h>
#include "xattr.h"
#include "acl.h"
#include "v9fs.h"
#include "v9fs_vfs.h"
#include "fid.h"

static struct posix_acl *v9fs_fid_get_acl(struct p9_fid *fid, const char *name)
{}

static struct posix_acl *v9fs_acl_get(struct dentry *dentry, const char *name)
{}

static struct posix_acl *__v9fs_get_acl(struct p9_fid *fid, const char *name)
{}

int v9fs_get_acl(struct inode *inode, struct p9_fid *fid)
{}

static struct posix_acl *v9fs_get_cached_acl(struct inode *inode, int type)
{}

struct posix_acl *v9fs_iop_get_inode_acl(struct inode *inode, int type, bool rcu)
{}

struct posix_acl *v9fs_iop_get_acl(struct mnt_idmap *idmap,
				   struct dentry *dentry, int type)
{}

int v9fs_iop_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
		     struct posix_acl *acl, int type)
{}

static int v9fs_set_acl(struct p9_fid *fid, int type, struct posix_acl *acl)
{}

int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid)
{}

int v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid,
			struct posix_acl *dacl, struct posix_acl *acl)
{}

void v9fs_put_acl(struct posix_acl *dacl,
		  struct posix_acl *acl)
{}

int v9fs_acl_mode(struct inode *dir, umode_t *modep,
		  struct posix_acl **dpacl, struct posix_acl **pacl)
{}