mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
xfs: fix issues that cause userspace warnings
Some of the code shared with userspace causes compilation warnings from things turned off in the kernel code, such as differences in variable signedness. Fix those issues. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
This commit is contained in:
parent
c5c249b424
commit
836a94ad59
6 changed files with 12 additions and 13 deletions
|
@ -736,8 +736,8 @@ xfs_rtallocate_range(
|
|||
{
|
||||
xfs_rtblock_t end; /* end of the allocated extent */
|
||||
int error; /* error value */
|
||||
xfs_rtblock_t postblock; /* first block allocated > end */
|
||||
xfs_rtblock_t preblock; /* first block allocated < start */
|
||||
xfs_rtblock_t postblock = 0; /* first block allocated > end */
|
||||
xfs_rtblock_t preblock = 0; /* first block allocated < start */
|
||||
|
||||
end = start + len - 1;
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue