#define pr_fmt(fmt) …
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/crc32.h>
#include <linux/jffs2.h>
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>
#include <linux/mtd/mtd.h>
#include "nodelist.h"
static size_t jffs2_acl_size(int count)
{ … }
static int jffs2_acl_count(size_t size)
{ … }
static struct posix_acl *jffs2_acl_from_medium(void *value, size_t size)
{ … }
static void *jffs2_acl_to_medium(const struct posix_acl *acl, size_t *size)
{ … }
struct posix_acl *jffs2_get_acl(struct inode *inode, int type, bool rcu)
{ … }
static int __jffs2_set_acl(struct inode *inode, int xprefix, struct posix_acl *acl)
{ … }
int jffs2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
struct posix_acl *acl, int type)
{ … }
int jffs2_init_acl_pre(struct inode *dir_i, struct inode *inode, umode_t *i_mode)
{ … }
int jffs2_init_acl_post(struct inode *inode)
{ … }