xfs
[Top] [All Lists]

Patch fs/xfs/xfs_alloc.c

To: aelder@xxxxxxx
Subject: Patch fs/xfs/xfs_alloc.c
From: Poyo VL <poyo_vl@xxxxxxxxx>
Date: Wed, 1 Sep 2010 12:27:39 -0700 (PDT)
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283369259; bh=cDmXRuty3XiqfRJbdq6NUi8s8jpfzjTrra8rovd7CCg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=tkaXZCjUCUjp2KK66w/uSL17GFYWmaVyUE/jhLOkV6oV7NvCGhO+QVGHnyp+qjG+SRSpoI7O5bDhNOsu9us9C3DGP5Dmc+JmZhYxUQw5WVMVBkCeGckbWork30qqQoE/W60o17yQds6FfPW4KiGxpMqgqRAKJZ/HbWjPLqqwH6k=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=2iWiGSma+kEJkOZW0W00UZIugnRIv72MI5xDhMJ80eYpi9kMi7IOhIWah4sUpq3f26EiOXK4cCzhSUpo0XqeSKOupvO0lK2q6h06uukjIGYBQP9BgIUiGf+8ybvTGI+dvBfB2oGLYQiNpHKEaP/DcnAdkKBXQQKbzdhRJLLI8Yk=;
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



      

Attachment: patch.diff
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>