aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorVincent StehlĂ© <[email protected]>2016-05-10 12:56:20 +0000
committerDavid Sterba <[email protected]>2016-05-10 14:22:26 +0000
commit72928f2476d08c79f132b4f44a17c9a011dd98e3 (patch)
tree64c7fd30eb9aebbb75394b2bde36712f4b66facf /fs/btrfs/dev-replace.c
parentbtrfs: make find_workspace warn if there are no workspaces (diff)
downloadkernel-72928f2476d08c79f132b4f44a17c9a011dd98e3.tar.gz
kernel-72928f2476d08c79f132b4f44a17c9a011dd98e3.zip
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Ă© <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions