Btrfs: fix fspath error deallocation
authorVincent Stehlé <vincent.stehle@intel.com>
Tue, 10 May 2016 12:56:20 +0000 (14:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 May 2016 14:22:26 +0000 (16:22 +0200)
commit72928f2476d08c79f132b4f44a17c9a011dd98e3
tree64c7fd30eb9aebbb75394b2bde36712f4b66facf
parent523567168da04bae0f88802ddef49d00072c5d58
Btrfs: fix fspath error deallocation

Make sure to deallocate fspath with vfree() in case of error in
init_ipath().

fspath is allocated with vmalloc() in init_data_container() since
commit 425d17a290c0 ("Btrfs: use larger limit for translation of logical to
inode").

Signed-off-by: Vincent Stehlé <vincent.stehle@intel.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/backref.c