summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-11-02 11:43:04 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 11:43:04 +1100
commit80cce77980c645b1c129d0e90159c1b1bb78f6a6 (patch)
tree1c7174a77f4b1fa6dee5b2384e137a62fa29cf1c /fs/xfs/xfs_attr.h
parentf74dee42765db1c2ed584de7ac66aa619c40c79e (diff)
downloadlinux-80cce77980c645b1c129d0e90159c1b1bb78f6a6.tar.gz
linux-80cce77980c645b1c129d0e90159c1b1bb78f6a6.tar.bz2
linux-80cce77980c645b1c129d0e90159c1b1bb78f6a6.zip
[XFS] Make some extended attributes routines take const parameters, for
the FreeBSD porters. SGI-PV: 942906 SGI-Modid: xfs-linux:xfs-kern:23845a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_attr.h')
-rw-r--r--fs/xfs/xfs_attr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_attr.h b/fs/xfs/xfs_attr.h
index 45ab1c542baf..42648b4f75b3 100644
--- a/fs/xfs/xfs_attr.h
+++ b/fs/xfs/xfs_attr.h
@@ -172,15 +172,15 @@ struct xfs_da_args;
/*
* Overall external interface routines.
*/
-int xfs_attr_get(bhv_desc_t *, char *, char *, int *, int, struct cred *);
-int xfs_attr_set(bhv_desc_t *, char *, char *, int, int, struct cred *);
-int xfs_attr_remove(bhv_desc_t *, char *, int, struct cred *);
+int xfs_attr_get(bhv_desc_t *, const char *, char *, int *, int, struct cred *);
+int xfs_attr_set(bhv_desc_t *, const char *, char *, int, int, struct cred *);
+int xfs_attr_remove(bhv_desc_t *, const char *, int, struct cred *);
int xfs_attr_list(bhv_desc_t *, char *, int, int,
struct attrlist_cursor_kern *, struct cred *);
int xfs_attr_inactive(struct xfs_inode *dp);
int xfs_attr_shortform_getvalue(struct xfs_da_args *);
-int xfs_attr_fetch(struct xfs_inode *, char *, int,
+int xfs_attr_fetch(struct xfs_inode *, const char *, int,
char *, int *, int, struct cred *);
#endif /* __XFS_ATTR_H__ */