diff options
| author | Mike Snitzer <[email protected]> | 2015-11-23 21:24:45 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2015-12-02 18:20:34 +0000 |
| commit | 30ce6e1cc5a0f781d60227e9096c86e188d2c2bd (patch) | |
| tree | 4d1217d25ff2d2e6db70e11a04ce52f82a781cb8 /net/unix/af_unix.c | |
| parent | Linux 4.4-rc3 (diff) | |
| download | kernel-30ce6e1cc5a0f781d60227e9096c86e188d2c2bd.tar.gz kernel-30ce6e1cc5a0f781d60227e9096c86e188d2c2bd.zip | |
dm btree: fix leak of bufio-backed block in btree_split_sibling error path
The block allocated at the start of btree_split_sibling() is never
released if later insert_at() fails.
Fix this by releasing the previously allocated bufio block using
unlock_block().
Reported-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
