diff options
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 0239a7c7c886..f8fe1c66d420 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -2598,8 +2598,10 @@ xfs_iflush( | |||
2598 | 2598 | ||
2599 | if (flags & SYNC_WAIT) | 2599 | if (flags & SYNC_WAIT) |
2600 | error = xfs_bwrite(mp, bp); | 2600 | error = xfs_bwrite(mp, bp); |
2601 | else | 2601 | else { |
2602 | xfs_bdwrite(mp, bp); | 2602 | xfs_buf_delwri_queue(bp); |
2603 | xfs_buf_relse(bp); | ||
2604 | } | ||
2603 | return error; | 2605 | return error; |
2604 | 2606 | ||
2605 | corrupt_out: | 2607 | corrupt_out: |