Message ID | 20250109005716.GL1306365@frogsfrogsfrogs (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | libxfs: fix uninit variable in libxfs_alloc_file_space | expand |
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/libxfs/util.c b/libxfs/util.c index 4a9dd254083a63..3597850ddccb9a 100644 --- a/libxfs/util.c +++ b/libxfs/util.c @@ -193,7 +193,7 @@ libxfs_alloc_file_space( int rt; xfs_trans_t *tp; xfs_bmbt_irec_t imaps[1], *imapp; - int error; + int error = 0; if (len <= 0) return -EINVAL;