|
|
| version 1.126, 2007/06/08 16:03:59 | version 1.127, 2007/07/09 06:12:03 |
|---|---|
| Line 44 | Line 44 |
| #include "xfs_trans_space.h" | #include "xfs_trans_space.h" |
| #include "xfs_rtalloc.h" | #include "xfs_rtalloc.h" |
| #include "xfs_rw.h" | #include "xfs_rw.h" |
| #include "xfs_filestream.h" | |
| /* | /* |
| * File system operations | * File system operations |
| Line 165 xfs_growfs_data_private( | Line 166 xfs_growfs_data_private( |
| new = nb - mp->m_sb.sb_dblocks; | new = nb - mp->m_sb.sb_dblocks; |
| oagcount = mp->m_sb.sb_agcount; | oagcount = mp->m_sb.sb_agcount; |
| if (nagcount > oagcount) { | if (nagcount > oagcount) { |
| xfs_filestream_flush(mp); | |
| down_write(&mp->m_peraglock); | down_write(&mp->m_peraglock); |
| mp->m_perag = kmem_realloc(mp->m_perag, | mp->m_perag = kmem_realloc(mp->m_perag, |
| sizeof(xfs_perag_t) * nagcount, | sizeof(xfs_perag_t) * nagcount, |