diff options
author | Nathan Scott <nathans@sgi.com> | 2005-11-01 19:43:04 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-01 19:43:04 -0500 |
commit | 80cce77980c645b1c129d0e90159c1b1bb78f6a6 (patch) | |
tree | 1c7174a77f4b1fa6dee5b2384e137a62fa29cf1c /fs/xfs/xfs_da_btree.h | |
parent | f74dee42765db1c2ed584de7ac66aa619c40c79e (diff) |
[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_da_btree.h')
-rw-r--r-- | fs/xfs/xfs_da_btree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_da_btree.h b/fs/xfs/xfs_da_btree.h index 3a9b9e809c60..a2199578b4c0 100644 --- a/fs/xfs/xfs_da_btree.h +++ b/fs/xfs/xfs_da_btree.h | |||
@@ -168,7 +168,7 @@ int xfs_da_cookie_entry(struct xfs_mount *mp, xfs_off_t cookie); | |||
168 | * Structure to ease passing around component names. | 168 | * Structure to ease passing around component names. |
169 | */ | 169 | */ |
170 | typedef struct xfs_da_args { | 170 | typedef struct xfs_da_args { |
171 | uchar_t *name; /* string (maybe not NULL terminated) */ | 171 | const uchar_t *name; /* string (maybe not NULL terminated) */ |
172 | int namelen; /* length of string (maybe no NULL) */ | 172 | int namelen; /* length of string (maybe no NULL) */ |
173 | uchar_t *value; /* set of bytes (maybe contain NULLs) */ | 173 | uchar_t *value; /* set of bytes (maybe contain NULLs) */ |
174 | int valuelen; /* length of value */ | 174 | int valuelen; /* length of value */ |
@@ -314,7 +314,7 @@ xfs_daddr_t xfs_da_reada_buf(struct xfs_trans *trans, struct xfs_inode *dp, | |||
314 | int xfs_da_shrink_inode(xfs_da_args_t *args, xfs_dablk_t dead_blkno, | 314 | int xfs_da_shrink_inode(xfs_da_args_t *args, xfs_dablk_t dead_blkno, |
315 | xfs_dabuf_t *dead_buf); | 315 | xfs_dabuf_t *dead_buf); |
316 | 316 | ||
317 | uint xfs_da_hashname(uchar_t *name_string, int name_length); | 317 | uint xfs_da_hashname(const uchar_t *name_string, int name_length); |
318 | uint xfs_da_log2_roundup(uint i); | 318 | uint xfs_da_log2_roundup(uint i); |
319 | xfs_da_state_t *xfs_da_state_alloc(void); | 319 | xfs_da_state_t *xfs_da_state_alloc(void); |
320 | void xfs_da_state_free(xfs_da_state_t *state); | 320 | void xfs_da_state_free(xfs_da_state_t *state); |