diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2018-03-11 11:25:50 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-15 14:37:04 +0100 |
| commit | c1cc0d51140fbcbb3c8cb08ee7e92020dda9c1af (patch) | |
| tree | 29cf3bc2e24fc505ff4daf2331412df30d433db7 /fs/jbd2/commit.c | |
| parent | c8ae1674cd0d688661a8b85b8b2d940516933322 (diff) | |
driver core: node: use put_device() if device_register fail
if device_register() returned an error! Always use put_device()
to give up the reference initialized.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
