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)
commite9061e214810c9534381a705a1b46533e09f2676
tree7eed17ffbfc2eeb06da70dafe8087855c4b22a60
parent82d339d9b3a6395f17d3253887653250b693b74b
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