xfs: implement pNFS export operations
[deliverable/linux.git] / fs / xfs / xfs_fsops.c
index fba6532efba44d0d7114baa24e358716aeb3c922..74efe5b760dcc2907280db8e374afe6f5914d7b3 100644 (file)
@@ -602,6 +602,12 @@ xfs_growfs_data(
        if (!mutex_trylock(&mp->m_growlock))
                return -EWOULDBLOCK;
        error = xfs_growfs_data_private(mp, in);
+       /*
+        * Increment the generation unconditionally, the error could be from
+        * updating the secondary superblocks, in which case the new size
+        * is live already.
+        */
+       mp->m_generation++;
        mutex_unlock(&mp->m_growlock);
        return error;
 }
This page took 0.025856 seconds and 5 git commands to generate.