Commit f93d3d7d authored by Stephen Lord's avatar Stephen Lord Committed by Christoph Hellwig

XFS: simplify the xfs flush and flushinvalidate calls down the what

Modid: 2.5.x-xfs:slinx:129128a
parent c21d6ee9
......@@ -135,7 +135,6 @@ fs_flushinval_pages(
struct inode *ip = LINVFS_GET_IP(vp);
if (VN_CACHED(vp)) {
filemap_fdatawait(ip->i_mapping);
filemap_fdatawrite(ip->i_mapping);
filemap_fdatawait(ip->i_mapping);
......@@ -159,7 +158,6 @@ fs_flush_pages(
struct inode *ip = LINVFS_GET_IP(vp);
if (VN_CACHED(vp)) {
filemap_fdatawait(ip->i_mapping);
filemap_fdatawrite(ip->i_mapping);
filemap_fdatawait(ip->i_mapping);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment