]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
block: fix add_partition() error path
authorTejun Heo <tj@kernel.org>
Mon, 10 Nov 2008 06:28:59 +0000 (15:28 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 18 Nov 2008 14:08:55 +0000 (15:08 +0100)
commiteb60fa1066622ddb2278732cf61e0c4544e82c6f
tree4297d3c2e8876897c51843df148725909a356a08
parent4e14e833ac3b97a4aa8803eea49f899adc5bb5f4
block: fix add_partition() error path

Partition stats structure was not freed on devt allocation failure
path.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/partitions/check.c