Btrfs: fix error handling in btrfs_ioctl_send()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Fri, 19 Apr 2013 01:04:46 +0000 (01:04 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:55:13 +0000 (15:55 -0400)
fget() returns NULL if error. So, we should check NULL or not.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/send.c

diff --cc fs/btrfs/send.c
Simple merge