Patch fs/xfs/xfs_alloc.c
Poyo VL
poyo_vl at yahoo.com
Wed Sep 1 14:27:39 CDT 2010
File: fs/xfs/xfs_alloc.c
Kernel: 2.6.35.4
It is not an important patch, but I got some warnings:
fs/xfs/xfs_alloc.c: In function ‘xfs_alloc_ag_vextent_near’:
fs/xfs/xfs_alloc.c:694:15: warning: ‘ltlena’ may be used uninitialized in this
function
fs/xfs/xfs_alloc.c:683:15: warning: ‘gtlena’ may be used uninitialized in this
function
And I hate warnings.
So I initialized that structures with 0. I attached the "patch".
Sorry, I am not a C or a kernel expert. But I try do something usefull :)
I am sorry If I did something wrong and thanks for your time.
Ionut Gabriel Popescu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 905 bytes
Desc: not available
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100901/222892d8/attachment.dll>
More information about the xfs
mailing list