diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 02:12:30 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 02:54:29 -0400 |
commit | 993386c19afa53fa54d00c7721e56ba820b3400d (patch) | |
tree | 1715fdeb9cc5ea99466e179b54e84b168fd5e127 /fs/xfs/xfs_attr.h | |
parent | b93bd20cd59eb7ec172f95d08b100fea688d8bcf (diff) |
[XFS] decontaminate vnode operations from behavior details
All vnode ops now take struct xfs_inode pointers and the behaviour related
glue is split out into methods of it's own. This required fixing
xfs_create/mkdir/symlink to not mess with the inode pointer but rather use
a separate boolean for error handling. Thanks to Dave Chinner for that
fix.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29492a
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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h index 783977d3ea71..47c9ab1eae0b 100644 --- a/fs/xfs/xfs_attr.h +++ b/fs/xfs/xfs_attr.h | |||
@@ -159,12 +159,8 @@ struct xfs_da_args; | |||
159 | /* | 159 | /* |
160 | * Overall external interface routines. | 160 | * Overall external interface routines. |
161 | */ | 161 | */ |
162 | int xfs_attr_get(bhv_desc_t *, const char *, char *, int *, int, struct cred *); | ||
163 | int xfs_attr_set(bhv_desc_t *, const char *, char *, int, int, struct cred *); | ||
164 | int xfs_attr_set_int(struct xfs_inode *, const char *, int, char *, int, int); | 162 | int xfs_attr_set_int(struct xfs_inode *, const char *, int, char *, int, int); |
165 | int xfs_attr_remove(bhv_desc_t *, const char *, int, struct cred *); | ||
166 | int xfs_attr_remove_int(struct xfs_inode *, const char *, int, int); | 163 | int xfs_attr_remove_int(struct xfs_inode *, const char *, int, int); |
167 | int xfs_attr_list(bhv_desc_t *, char *, int, int, struct attrlist_cursor_kern *, struct cred *); | ||
168 | int xfs_attr_list_int(struct xfs_attr_list_context *); | 164 | int xfs_attr_list_int(struct xfs_attr_list_context *); |
169 | int xfs_attr_inactive(struct xfs_inode *dp); | 165 | int xfs_attr_inactive(struct xfs_inode *dp); |
170 | 166 | ||