Re: [PATCH v2] btrfs: Refactor count handling in btrfs_unpin_free_ino()

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

 



On Fri, Jun 22, 2018 at 09:18:29AM +0200, Geert Uytterhoeven wrote:
> With gcc 4.1.2:
> 
>     fs/btrfs/inode-map.c: In function ‘btrfs_unpin_free_ino’:
>     fs/btrfs/inode-map.c:241: warning: ‘count’ may be used uninitialized in this function
> 
> While this warning is a false-positive, it can easily be killed by
> refactoring the code.
> 
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> Please review. Compile-tested only.

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux