aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2010-01-19 18:47:08 -0500
committerDave Chinner <david@fromorbit.com>2010-01-19 18:47:08 -0500
commit046ea753130fc51d885835458bf8c1d84765b9ac (patch)
tree16cbba96c2db1b23fd0eed5aebbc1993df920426 /fs/xfs/xfs_vnodeops.c
parente2bcd936eb95d0019ca5e05f9fdd27e770ddded1 (diff)
xfs: convert DM ops to use unsigned char names
dmops uses a signed char for it's namespace event. To be consistent with the rest of the code, convert them to unsigned char for the namespace string. Signed-off-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index 6f268756bf36..9f7c001ef469 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -2199,7 +2199,8 @@ xfs_symlink(
2199 if (DM_EVENT_ENABLED(dp, DM_EVENT_SYMLINK)) { 2199 if (DM_EVENT_ENABLED(dp, DM_EVENT_SYMLINK)) {
2200 error = XFS_SEND_NAMESP(mp, DM_EVENT_SYMLINK, dp, 2200 error = XFS_SEND_NAMESP(mp, DM_EVENT_SYMLINK, dp,
2201 DM_RIGHT_NULL, NULL, DM_RIGHT_NULL, 2201 DM_RIGHT_NULL, NULL, DM_RIGHT_NULL,
2202 link_name->name, target_path, 0, 0, 0); 2202 link_name->name,
2203 (unsigned char *)target_path, 0, 0, 0);
2203 if (error) 2204 if (error)
2204 return error; 2205 return error;
2205 } 2206 }
@@ -2395,7 +2396,8 @@ std_return:
2395 dp, DM_RIGHT_NULL, 2396 dp, DM_RIGHT_NULL,
2396 error ? NULL : ip, 2397 error ? NULL : ip,
2397 DM_RIGHT_NULL, link_name->name, 2398 DM_RIGHT_NULL, link_name->name,
2398 target_path, 0, error, 0); 2399 (unsigned char *)target_path,
2400 0, error, 0);
2399 } 2401 }
2400 2402
2401 if (!error) 2403 if (!error)