linux/fs/gfs2/xattr.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) Sistina Software, Inc.  1997-2003 All rights reserved.
 * Copyright (C) 2004-2006 Red Hat, Inc.  All rights reserved.
 */

#ifndef __EATTR_DOT_H__
#define __EATTR_DOT_H__

struct gfs2_inode;
struct iattr;

#define GFS2_EA_REC_LEN(ea)
#define GFS2_EA_DATA_LEN(ea)

#define GFS2_EA_SIZE(ea)

#define GFS2_EA_IS_STUFFED(ea)
#define GFS2_EA_IS_LAST(ea)

#define GFS2_EAREQ_SIZE_STUFFED(er)

#define GFS2_EA2NAME(ea)
#define GFS2_EA2DATA(ea)

#define GFS2_EA2DATAPTRS(ea)

#define GFS2_EA2NEXT(ea)

#define GFS2_EA_BH2FIRST(bh)

struct gfs2_ea_request {};

struct gfs2_ea_location {};

int __gfs2_xattr_set(struct inode *inode, const char *name,
		     const void *value, size_t size,
		     int flags, int type);
ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size);
int gfs2_ea_dealloc(struct gfs2_inode *ip);

/* Exported to acl.c */

int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **data);

#endif /* __EATTR_DOT_H__ */