btrfs: list_entry can't return NULL
authorEric Sandeen <sandeen@redhat.com>
Thu, 31 Jan 2013 00:54:53 +0000 (00:54 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 17:59:15 +0000 (12:59 -0500)
commitd1d3cd27a32b819a0b0e2b9b6b5f9e80890f9821
tree9622f1614fe3140ede1a7e2f10aabb756a5d585f
parentb4c6f7b75ce9fa3bb78af314e1841af5716bb643
btrfs: list_entry can't return NULL

No need to test the result, we can't get a
null pointer from list_entry()

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c