Patch fs/xfs/xfs_alloc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux