|
@@ -115,6 +115,8 @@ xfs_file_fsync(
|
|
|
|
|
|
xfs_iflags_clear(ip, XFS_ITRUNCATED);
|
|
xfs_iflags_clear(ip, XFS_ITRUNCATED);
|
|
|
|
|
|
|
|
+ xfs_ioend_wait(ip);
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* We always need to make sure that the required inode state is safe on
|
|
* We always need to make sure that the required inode state is safe on
|
|
* disk. The inode might be clean but we still might need to force the
|
|
* disk. The inode might be clean but we still might need to force the
|