aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJan Safrata <[email protected]>2012-05-22 12:04:50 +0000
committerGreg Kroah-Hartman <[email protected]>2012-06-14 00:26:11 +0000
commit0658a3366db7e27fa32c12e886230bb58c414c92 (patch)
treecadf90cab3dd5b508d0d48682f835fc87d938450 /fs/jbd2/commit.c
parentUSB: EHCI: Fix build warning in xilinx ehci driver (diff)
downloadkernel-0658a3366db7e27fa32c12e886230bb58c414c92.tar.gz
kernel-0658a3366db7e27fa32c12e886230bb58c414c92.zip
usb: use usb_serial_put in usb_serial_probe errors
The use of kfree(serial) in error cases of usb_serial_probe was invalid - usb_serial structure allocated in create_serial() gets reference of usb_device that needs to be put, so we need to use usb_serial_put() instead of simple kfree(). Signed-off-by: Jan Safrata <[email protected]> Acked-by: Johan Hovold <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions