diff options
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); |
