Btrfs: fix use of uninitialized err variable
authorFilipe David Borba Manana <fdmanana@gmail.com>
Fri, 13 Dec 2013 19:39:34 +0000 (19:39 +0000)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:19:57 +0000 (13:19 -0800)
commitfc28b62d648dde3cfbec6584c0fa19ea7350e7e9
tree1a6ca7b904225e15160f94237256093a763c6755
parent54eb72c05f7731b4b148da47419b90a5f2108036
Btrfs: fix use of uninitialized err variable

fs/btrfs/file.c: In function ‘prepare_pages.isra.18’:
fs/btrfs/file.c:1265:6: warning: ‘err’ may be used uninitialized in this function [-Wuninitialized]

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/file.c