Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[linux-2.6-block.git] / fs / gfs2 / eaops.h
CommitLineData
b3b94faa
DT
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3a8a9a10 3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
b3b94faa
DT
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
e9fc2aa0 7 * of the GNU General Public License version 2.
b3b94faa
DT
8 */
9
10#ifndef __EAOPS_DOT_H__
11#define __EAOPS_DOT_H__
12
13struct gfs2_ea_request;
f2f7ba52 14struct gfs2_inode;
b3b94faa
DT
15
16struct gfs2_eattr_operations {
17 int (*eo_get) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
18 int (*eo_set) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
19 int (*eo_remove) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
20 char *eo_name;
21};
22
cca195c5 23unsigned int gfs2_ea_name2type(const char *name, const char **truncated_name);
b3b94faa 24
4ef29002 25extern const struct gfs2_eattr_operations gfs2_system_eaops;
b3b94faa 26
4ef29002 27extern const struct gfs2_eattr_operations *gfs2_ea_ops[];
b3b94faa
DT
28
29#endif /* __EAOPS_DOT_H__ */
30