xfs: move local to extent inode logging into bmap helper
[linux-block.git] / fs / xfs / libxfs / xfs_attr_leaf.c
index 1b956c313b6b5f9558ab3c876152cf504991ca9c..f0089e862216ca1071d51163c0f1da41b67bb56d 100644 (file)
@@ -826,8 +826,7 @@ xfs_attr_shortform_to_leaf(
        sf = (xfs_attr_shortform_t *)tmpbuffer;
 
        xfs_idata_realloc(dp, -size, XFS_ATTR_FORK);
-       xfs_bmap_local_to_extents_empty(dp, XFS_ATTR_FORK);
-       xfs_trans_log_inode(args->trans, dp, XFS_ILOG_CORE);
+       xfs_bmap_local_to_extents_empty(args->trans, dp, XFS_ATTR_FORK);
 
        bp = NULL;
        error = xfs_da_grow_inode(args, &blkno);