aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_attr.c')
-rw-r--r--fs/xfs/xfs_attr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/xfs/xfs_attr.c b/fs/xfs/xfs_attr.c
index c2939b8f8d24..c2c14b2103f1 100644
--- a/fs/xfs/xfs_attr.c
+++ b/fs/xfs/xfs_attr.c
@@ -122,7 +122,7 @@ ktrace_t *xfs_attr_trace_buf;
122 *========================================================================*/ 122 *========================================================================*/
123 123
124int 124int
125xfs_attr_fetch(xfs_inode_t *ip, char *name, int namelen, 125xfs_attr_fetch(xfs_inode_t *ip, const char *name, int namelen,
126 char *value, int *valuelenp, int flags, struct cred *cred) 126 char *value, int *valuelenp, int flags, struct cred *cred)
127{ 127{
128 xfs_da_args_t args; 128 xfs_da_args_t args;
@@ -177,7 +177,7 @@ xfs_attr_fetch(xfs_inode_t *ip, char *name, int namelen,
177} 177}
178 178
179int 179int
180xfs_attr_get(bhv_desc_t *bdp, char *name, char *value, int *valuelenp, 180xfs_attr_get(bhv_desc_t *bdp, const char *name, char *value, int *valuelenp,
181 int flags, struct cred *cred) 181 int flags, struct cred *cred)
182{ 182{
183 xfs_inode_t *ip = XFS_BHVTOI(bdp); 183 xfs_inode_t *ip = XFS_BHVTOI(bdp);
@@ -201,7 +201,7 @@ xfs_attr_get(bhv_desc_t *bdp, char *name, char *value, int *valuelenp,
201} 201}
202 202
203STATIC int 203STATIC int
204xfs_attr_set_int(xfs_inode_t *dp, char *name, int namelen, 204xfs_attr_set_int(xfs_inode_t *dp, const char *name, int namelen,
205 char *value, int valuelen, int flags) 205 char *value, int valuelen, int flags)
206{ 206{
207 xfs_da_args_t args; 207 xfs_da_args_t args;
@@ -437,7 +437,7 @@ out:
437} 437}
438 438
439int 439int
440xfs_attr_set(bhv_desc_t *bdp, char *name, char *value, int valuelen, int flags, 440xfs_attr_set(bhv_desc_t *bdp, const char *name, char *value, int valuelen, int flags,
441 struct cred *cred) 441 struct cred *cred)
442{ 442{
443 xfs_inode_t *dp; 443 xfs_inode_t *dp;
@@ -469,7 +469,7 @@ xfs_attr_set(bhv_desc_t *bdp, char *name, char *value, int valuelen, int flags,
469 * Transitions attribute list from Btree to shortform as necessary. 469 * Transitions attribute list from Btree to shortform as necessary.
470 */ 470 */
471STATIC int 471STATIC int
472xfs_attr_remove_int(xfs_inode_t *dp, char *name, int namelen, int flags) 472xfs_attr_remove_int(xfs_inode_t *dp, const char *name, int namelen, int flags)
473{ 473{
474 xfs_da_args_t args; 474 xfs_da_args_t args;
475 xfs_fsblock_t firstblock; 475 xfs_fsblock_t firstblock;
@@ -592,7 +592,7 @@ out:
592} 592}
593 593
594int 594int
595xfs_attr_remove(bhv_desc_t *bdp, char *name, int flags, struct cred *cred) 595xfs_attr_remove(bhv_desc_t *bdp, const char *name, int flags, struct cred *cred)
596{ 596{
597 xfs_inode_t *dp; 597 xfs_inode_t *dp;
598 int namelen, error; 598 int namelen, error;