diff options
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r-- | fs/fs-writeback.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 5b4a9362d5aa..f60297ba4912 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c | |||
@@ -1364,8 +1364,6 @@ int write_inode_now(struct inode *inode, int sync) | |||
1364 | ret = writeback_single_inode(inode, wb, &wbc); | 1364 | ret = writeback_single_inode(inode, wb, &wbc); |
1365 | spin_unlock(&inode->i_lock); | 1365 | spin_unlock(&inode->i_lock); |
1366 | spin_unlock(&wb->list_lock); | 1366 | spin_unlock(&wb->list_lock); |
1367 | if (sync) | ||
1368 | inode_sync_wait(inode); | ||
1369 | return ret; | 1367 | return ret; |
1370 | } | 1368 | } |
1371 | EXPORT_SYMBOL(write_inode_now); | 1369 | EXPORT_SYMBOL(write_inode_now); |