[GFS2] [-mm patch] fs/gfs2/: possible cleanups
[usb.git] / fs / gfs2 / eaops.h
blob30ec6a09bfd0ff5d1025fdd10b48baf150b26bec
1 /*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License v.2.
8 */
10 #ifndef __EAOPS_DOT_H__
11 #define __EAOPS_DOT_H__
13 struct gfs2_ea_request;
15 struct gfs2_eattr_operations {
16 int (*eo_get) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
17 int (*eo_set) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
18 int (*eo_remove) (struct gfs2_inode *ip, struct gfs2_ea_request *er);
19 char *eo_name;
22 unsigned int gfs2_ea_name2type(const char *name, char **truncated_name);
24 extern struct gfs2_eattr_operations gfs2_system_eaops;
26 extern struct gfs2_eattr_operations *gfs2_ea_ops[];
28 #endif /* __EAOPS_DOT_H__ */