diff options
author | Mathias Krause <minipli@googlemail.com> | 2016-06-19 15:31:30 +0300 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2016-06-20 19:56:36 +0300 |
commit | b7479990435713b00870df3c1d98ff66f6ef1ba2 (patch) | |
tree | 5f7a44613d502864ae257903f793ea4d377e20b8 /include/linux/dma-buf.h | |
parent | eb0b947e3bf59d263f5bc7c080ce40333b515004 (diff) | |
download | linux-b7479990435713b00870df3c1d98ff66f6ef1ba2.tar.xz |
dma-buf: remove dma_buf directory on bufinfo file creation errors
Change the error handling in dma_buf_init_debugfs() to remove the
"dma_buf" directory if creating the "bufinfo" file fails. No need to
have an empty debugfs directory around.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Diffstat (limited to 'include/linux/dma-buf.h')
0 files changed, 0 insertions, 0 deletions