Commit 18107b5b authored by Nathan Scott's avatar Nathan Scott

Merge sgi.com:/source2/linux-2.6 into sgi.com:/source2/xfs-linux-2.6

parents 0242b389 964cfbf9
...@@ -247,7 +247,7 @@ xfs_flush_inode( ...@@ -247,7 +247,7 @@ xfs_flush_inode(
{ {
struct inode *inode = LINVFS_GET_IP(XFS_ITOV(ip)); struct inode *inode = LINVFS_GET_IP(XFS_ITOV(ip));
filemap_fdatawrite(inode->i_mapping); filemap_flush(inode->i_mapping);
} }
void void
......
...@@ -1227,7 +1227,7 @@ xlog_alloc_log(xfs_mount_t *mp, ...@@ -1227,7 +1227,7 @@ xlog_alloc_log(xfs_mount_t *mp,
kmem_zalloc(sizeof(xlog_in_core_t), KM_SLEEP); kmem_zalloc(sizeof(xlog_in_core_t), KM_SLEEP);
iclog = *iclogp; iclog = *iclogp;
iclog->hic_data = (xlog_in_core_2_t *) iclog->hic_data = (xlog_in_core_2_t *)
kmem_alloc(iclogsize, KM_SLEEP); kmem_zalloc(iclogsize, KM_SLEEP);
iclog->ic_prev = prev_iclog; iclog->ic_prev = prev_iclog;
prev_iclog = iclog; prev_iclog = iclog;
......
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