Filipe Manana 6fdef6d43c Btrfs: don't release invalid page in btrfs_page_exists_in_range()
In inode.c:btrfs_page_exists_in_range(), if the page we got from
the radix tree is an exception entry, which can't be retried, we
exit the loop with a non-NULL page and then call page_cache_release
against it, which is not ok since it's not a valid page. This could
also make us return true when we shouldn't.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
2014-06-09 17:21:14 -07:00
..
2014-06-09 17:20:42 -07:00
2014-06-09 17:20:48 -07:00
2014-06-09 17:20:48 -07:00
2014-06-09 17:20:48 -07:00
2014-06-09 17:20:58 -07:00
2013-11-11 22:03:19 -05:00
2013-03-14 14:57:10 -04:00
2014-06-09 17:20:48 -07:00
2013-02-01 14:24:23 -05:00
2014-03-10 15:15:51 -04:00
2014-06-09 17:20:58 -07:00
2014-01-29 07:06:27 -08:00
2014-01-29 07:06:27 -08:00