]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix uninit compiler warning in cow_file_range_nocow
authorChris Mason <chris.mason@oracle.com>
Fri, 9 Oct 2009 13:57:45 +0000 (09:57 -0400)
committerChris Mason <chris.mason@oracle.com>
Fri, 9 Oct 2009 13:57:45 +0000 (09:57 -0400)
commitcc9a18f42fb2c67e65f64860094f2d3104760328
tree7eed17ffbfc2eeb06da70dafe8087855c4b22a60
parent65c394acebf01e8eeb8eb88b330560ab728d8ce4
Btrfs: fix uninit compiler warning in cow_file_range_nocow

The extent_type variable was exposed uninit via a goto.  It should be
impossible to trigger because it is protected by a check on another
variable, but this makes sure.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c