]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22a63dd0e771f9987bc2efb1db55dee8ae30e33e
tree2426c939f2ead521276e06edb6178f9ccd4154b5
parent9407f936b6365d45110e862954197a0527cd726c
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