diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 21:53:12 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:40:24 -0400 |
commit | 0a74cd1964501fdb577176f14ed3d02b8e148127 (patch) | |
tree | ec4aa3dff46b141cd60734bb6c8a0c6b6a2e7111 /fs/xfs/xfs_attr.h | |
parent | 2aeaa258c0527026228c43148ec6dffdc56bea1c (diff) |
[XFS] kill struct bhv_vnode
Now that struct bhv_vnode is empty we can just kill it. Retain bhv_vnode_t
as a typedef for struct inode for the time being until all the fallout is
cleaned up.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29500a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr.h')
-rw-r--r-- | fs/xfs/xfs_attr.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h index 47c9ab1eae0b..786eba3121c4 100644 --- a/fs/xfs/xfs_attr.h +++ b/fs/xfs/xfs_attr.h | |||
@@ -36,14 +36,13 @@ | |||
36 | *========================================================================*/ | 36 | *========================================================================*/ |
37 | 37 | ||
38 | struct cred; | 38 | struct cred; |
39 | struct bhv_vnode; | ||
40 | struct xfs_attr_list_context; | 39 | struct xfs_attr_list_context; |
41 | 40 | ||
42 | typedef int (*attrset_t)(struct bhv_vnode *, char *, void *, size_t, int); | 41 | typedef int (*attrset_t)(bhv_vnode_t *, char *, void *, size_t, int); |
43 | typedef int (*attrget_t)(struct bhv_vnode *, char *, void *, size_t, int); | 42 | typedef int (*attrget_t)(bhv_vnode_t *, char *, void *, size_t, int); |
44 | typedef int (*attrremove_t)(struct bhv_vnode *, char *, int); | 43 | typedef int (*attrremove_t)(bhv_vnode_t *, char *, int); |
45 | typedef int (*attrexists_t)(struct bhv_vnode *); | 44 | typedef int (*attrexists_t)(bhv_vnode_t *); |
46 | typedef int (*attrcapable_t)(struct bhv_vnode *, struct cred *); | 45 | typedef int (*attrcapable_t)(bhv_vnode_t *, struct cred *); |
47 | 46 | ||
48 | typedef struct attrnames { | 47 | typedef struct attrnames { |
49 | char * attr_name; | 48 | char * attr_name; |
@@ -64,7 +63,7 @@ extern struct attrnames attr_trusted; | |||
64 | extern struct attrnames *attr_namespaces[ATTR_NAMECOUNT]; | 63 | extern struct attrnames *attr_namespaces[ATTR_NAMECOUNT]; |
65 | 64 | ||
66 | extern attrnames_t *attr_lookup_namespace(char *, attrnames_t **, int); | 65 | extern attrnames_t *attr_lookup_namespace(char *, attrnames_t **, int); |
67 | extern int attr_generic_list(struct bhv_vnode *, void *, size_t, int, ssize_t *); | 66 | extern int attr_generic_list(bhv_vnode_t *, void *, size_t, int, ssize_t *); |
68 | 67 | ||
69 | #define ATTR_DONTFOLLOW 0x0001 /* -- unused, from IRIX -- */ | 68 | #define ATTR_DONTFOLLOW 0x0001 /* -- unused, from IRIX -- */ |
70 | #define ATTR_ROOT 0x0002 /* use attrs in root (trusted) namespace */ | 69 | #define ATTR_ROOT 0x0002 /* use attrs in root (trusted) namespace */ |