btrfs: Check error of btrfs_iget in btrfs_search_path_in_tree_user
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Mon, 4 Jun 2018 07:41:07 +0000 (16:41 +0900)
committerDavid Sterba <dsterba@suse.com>
Tue, 5 Jun 2018 14:11:18 +0000 (16:11 +0200)
commit3ca57bd620639eef8bae4adde2d58fc72109e7c8
tree991f6e71788cb8265b499ffcd48fdc470f5106c3
parent23d0b79dfaed2305b500b0215b0421701ada6b1a
btrfs: Check error of btrfs_iget in btrfs_search_path_in_tree_user

The patch introducing the ioctl was not the latest version at the time
of merging to the mainline and needs a fixup from this patch.

Fixes: ba637a252d30 ("btrfs: Check error of btrfs_iget() in btrfs_search_path_in_tree_user")
Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c