Dave Chinner eeacd3217b xfs: make xfs_cross_rename() complete fully
Now that xfs_finish_rename() exists, there is no reason for
xfs_cross_rename() to return to xfs_rename() to finish off the
rename transaction. Drive the completion code into
xfs_cross_rename() and handle all errors there so as to simplify
the xfs_rename() code.

Further, push the rename exchange target_ip check to early in the
rename code so as to make the error handling easy and obviously
correct.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-03-25 14:08:07 +11:00
..
2014-07-30 09:12:05 +10:00
2015-02-16 11:49:23 +11:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2013-08-12 16:53:39 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2013-08-12 16:56:06 -05:00
2013-05-07 18:45:36 -05:00
2015-02-10 16:15:17 -08:00
2015-02-10 16:15:17 -08:00
2014-07-30 09:12:05 +10:00
2015-01-09 10:47:43 +11:00
2014-09-09 11:52:42 +10:00
2013-05-07 18:45:36 -05:00