aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 3eca58f51ae9..1add17ca3350 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -905,7 +905,7 @@ xfs_fs_write_inode(
905 if (!ip->i_update_core) 905 if (!ip->i_update_core)
906 return 0; 906 return 0;
907 907
908 if (wbc->sync_mode == WB_SYNC_ALL) { 908 if (wbc->sync_mode == WB_SYNC_ALL || wbc->for_kupdate) {
909 /* 909 /*
910 * Make sure the inode has made it it into the log. Instead 910 * Make sure the inode has made it it into the log. Instead
911 * of forcing it all the way to stable storage using a 911 * of forcing it all the way to stable storage using a