diff options
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
-rw-r--r-- | fs/xfs/xfs_fsops.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/xfs/xfs_fsops.c b/fs/xfs/xfs_fsops.c index fba6532efba4..74efe5b760dc 100644 --- a/fs/xfs/xfs_fsops.c +++ b/fs/xfs/xfs_fsops.c | |||
@@ -602,6 +602,12 @@ xfs_growfs_data( | |||
602 | if (!mutex_trylock(&mp->m_growlock)) | 602 | if (!mutex_trylock(&mp->m_growlock)) |
603 | return -EWOULDBLOCK; | 603 | return -EWOULDBLOCK; |
604 | error = xfs_growfs_data_private(mp, in); | 604 | error = xfs_growfs_data_private(mp, in); |
605 | /* | ||
606 | * Increment the generation unconditionally, the error could be from | ||
607 | * updating the secondary superblocks, in which case the new size | ||
608 | * is live already. | ||
609 | */ | ||
610 | mp->m_generation++; | ||
605 | mutex_unlock(&mp->m_growlock); | 611 | mutex_unlock(&mp->m_growlock); |
606 | return error; | 612 | return error; |
607 | } | 613 | } |