vserver 2.0 rc7
[linux-2.6.git] / fs / xfs / xfs_rename.c
index 876f690..cb13f9a 100644 (file)
@@ -589,7 +589,7 @@ xfs_rename(
         * rename transaction goes to disk before returning to
         * the user.
         */
-       if (mp->m_flags & XFS_MOUNT_WSYNC) {
+       if (mp->m_flags & (XFS_MOUNT_WSYNC|XFS_MOUNT_DIRSYNC)) {
                xfs_trans_set_sync(tp);
        }