]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e69749a53630a8f2cf931dfdcce0bacaa8ef898
tree216d577ab5ec3cb64a6208e6471c50df6677fb77
parent941b0194eac7b1ea93947b80da2412a31d1c9dfb
btrfs: Use PTR_ERR_OR_ZERO

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