btrfs: Use PTR_ERR_OR_ZERO
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 17 Feb 2014 03:43:57 +0000 (09:13 +0530)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:16:51 +0000 (15:16 -0400)
PTR_RET is deprecated. Use PTR_ERR_OR_ZERO instead. While at it
also include missing err.h header.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/root-tree.c

Simple merge