|
@@ -489,16 +489,11 @@ xfs_inactive_symlink_rmt(
|
|
error = xfs_defer_finish(&tp, &dfops);
|
|
error = xfs_defer_finish(&tp, &dfops);
|
|
if (error)
|
|
if (error)
|
|
goto error_bmap_cancel;
|
|
goto error_bmap_cancel;
|
|
- /*
|
|
|
|
- * The first xact was committed, so add the inode to the new one.
|
|
|
|
- * Mark it dirty so it will be logged and moved forward in the log as
|
|
|
|
- * part of every commit.
|
|
|
|
- */
|
|
|
|
- xfs_trans_ijoin(tp, ip, 0);
|
|
|
|
- xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
|
|
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Commit the transaction containing extent freeing and EFDs.
|
|
* Commit the transaction containing extent freeing and EFDs.
|
|
*/
|
|
*/
|
|
|
|
+ xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
|
|
error = xfs_trans_commit(tp);
|
|
error = xfs_trans_commit(tp);
|
|
if (error) {
|
|
if (error) {
|
|
ASSERT(XFS_FORCED_SHUTDOWN(mp));
|
|
ASSERT(XFS_FORCED_SHUTDOWN(mp));
|