]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - repair/phase7.c
Update xfsprogs to latest kernel headers and functions
[thirdparty/xfsprogs-dev.git] / repair / phase7.c
index 09b426cc748aad802146c34a2f8a3a462b55aa35..3452eb69068bb2be7be6aea0abbf0ad3dccc624b 100644 (file)
@@ -30,7 +30,7 @@
 /* dinoc is a pointer to the IN-CORE dinode core */
 static void
 set_nlinks(
-       xfs_dinode_core_t       *dinoc,
+       xfs_icdinode_t          *dinoc,
        xfs_ino_t               ino,
        __uint32_t              nrefs,
        int                     *dirty)
@@ -108,7 +108,7 @@ update_inode_nlinks(
                 */
                ASSERT(error == 0);
                error = libxfs_trans_commit(tp, XFS_TRANS_RELEASE_LOG_RES |
-                               XFS_TRANS_SYNC, NULL);
+                               XFS_TRANS_SYNC);
 
                ASSERT(error == 0);
        }