summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/xfs/xfs_file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 3dc5f8ca64ec..b38002ddfa6c 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -609,12 +609,6 @@ xfs_file_dio_write(
out:
if (iolock)
xfs_iunlock(ip, iolock);
-
- /*
- * No fallback to buffered IO after short writes for XFS, direct I/O
- * will either complete fully or return an error.
- */
- ASSERT(ret < 0 || ret == count);
return ret;
}