diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-09-02 16:56:02 +1000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-09-02 16:56:02 +1000 |
commit | 760dea671ea9c5b8c732d76d09673d6d052a186f (patch) | |
tree | a86bef9269c786a073980749044fe495b730ea8d /fs/xfs/xfs_log_recover.c | |
parent | 6f948fbd443255e3a918438ce41cd7581cf8146d (diff) | |
download | kernel_samsung_tuna-760dea671ea9c5b8c732d76d09673d6d052a186f.zip kernel_samsung_tuna-760dea671ea9c5b8c732d76d09673d6d052a186f.tar.gz kernel_samsung_tuna-760dea671ea9c5b8c732d76d09673d6d052a186f.tar.bz2 |
[XFS] Fix sparse warnings in kmem_* functions Patch from Victor Fusco
<victor@cetuc.puc-rio.br>
SGI-PV: 940376
SGI-Modid: xfs-linux:xfs-kern:196705a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r-- | fs/xfs/xfs_log_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 0aac28d..14faaba 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -1387,7 +1387,7 @@ xlog_recover_add_to_cont_trans( old_ptr = item->ri_buf[item->ri_cnt-1].i_addr; old_len = item->ri_buf[item->ri_cnt-1].i_len; - ptr = kmem_realloc(old_ptr, len+old_len, old_len, 0); + ptr = kmem_realloc(old_ptr, len+old_len, old_len, 0u); memcpy(&ptr[old_len], dp, len); /* d, s, l */ item->ri_buf[item->ri_cnt-1].i_len += len; item->ri_buf[item->ri_cnt-1].i_addr = ptr; |