Eric Sandeen 1a7ccad88d xfs: fix error gotos in xfs_setattr_nonsize
As the code stands today, if xfs_trans_reserve() fails, we
goto out_dqrele, which does not free the allocated transaction.

Fix up the goto targets to undo everything properly.

Addresses-Coverity-Id: 145571
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-08-28 14:51:10 +10:00
..
2014-07-30 09:12:05 +10:00
2015-02-16 11:49:23 +11:00
2015-06-22 09:44:02 +10:00
2015-06-22 09:44:02 +10:00
2015-06-22 09:45:10 +10:00
2015-06-04 13:48:20 +10:00
2015-06-04 13:48:20 +10:00
2015-06-04 13:48:08 +10:00
2015-03-04 16:06:38 +01:00
2015-06-04 09:19:18 +10:00
2015-02-23 21:22:31 +11:00
2015-01-09 10:47:43 +11:00
2014-09-09 11:52:42 +10:00
2015-06-04 13:48:20 +10:00