ext4: release donor reference when EXT4_IOC_MOVE_EXT ioctl fails
authorDjalal Harouni <tixxdz@opendz.org>
Thu, 27 Sep 2012 02:58:50 +0000 (22:58 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Sep 2012 02:58:50 +0000 (22:58 -0400)
commit9b68733273665a4c0d98041a657dabfb4fd6bd80
tree2426c939f2ead521276e06edb6178f9ccd4154b5
parentaaf7d73e54b6915310ece11aedb19ec06a833642
ext4: release donor reference when EXT4_IOC_MOVE_EXT ioctl fails

When the EXT4_IOC_MOVE_EXT ioctl() fails on bigalloc file systems, we
should jump to the 'mext_out' label to release the donor file reference.

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ioctl.c