]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/xfs/xfs_file.c
xfs: saner xfs_trans_commit interface
[mirror_ubuntu-bionic-kernel.git] / fs / xfs / xfs_file.c
index 46598b7bce86e3ebdb1fe1cbd15a0cc71d84a6b2..0dec85865ce4422286174bf192fe154ded631aa0 100644 (file)
@@ -160,7 +160,7 @@ xfs_update_prealloc_flags(
        xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
        if (flags & XFS_PREALLOC_SYNC)
                xfs_trans_set_sync(tp);
-       return xfs_trans_commit(tp, 0);
+       return xfs_trans_commit(tp);
 }
 
 /*