We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc5b5f commit 0949d31Copy full SHA for 0949d31
fs/xfs/libxfs/xfs_attr.c
@@ -1126,6 +1126,11 @@ xfs_attr_node_removename(
1126
error = xfs_attr3_leaf_setflag(args);
1127
if (error)
1128
goto out;
1129
+
1130
+ error = xfs_trans_roll_inode(&args->trans, args->dp);
1131
+ if (error)
1132
+ goto out;
1133
1134
error = xfs_attr_rmtval_remove(args);
1135
1136
fs/xfs/libxfs/xfs_attr_leaf.c
@@ -2833,10 +2833,7 @@ xfs_attr3_leaf_setflag(
2833
XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt)));
2834
}
2835
2836
- /*
2837
- * Commit the flag value change and start the next trans in series.
2838
- */
2839
- return xfs_trans_roll_inode(&args->trans, args->dp);
+ return 0;
2840
2841
2842
/*
0 commit comments