diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-20 10:37:13 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-07-20 10:37:13 +1000 |
commit | fbc21f33cda0a8e13ebd71fe2e23a21d4b79afbb (patch) | |
tree | 10c37d3ce264a198fc9f42449f2ce49c5280db92 /fs/xfs/libxfs | |
parent | 7f1b62457b58f9bb586a1b2ff7fe271b56196bd2 (diff) |
xfs: don't allow negative error tags
Errors go from zero which means no error to XFS_ERRTAG_MAX (22). My
static checker complains that xfs_errortag_add() puts an upper bound on
this but not a lower bound. Let's fix it by making it unsigned.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions