diff options
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r-- | api/src/glfs.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index 41c6da576a7..42e4a58d462 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -751,9 +751,6 @@ pub_glfs_init (struct glfs *fs) GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_init, 3.4.0); -extern xlator_t * -priv_glfs_active_subvol (struct glfs *); - int pub_glfs_fini (struct glfs *fs) { @@ -794,7 +791,7 @@ pub_glfs_fini (struct glfs *fs) pthread_mutex_unlock (&fs->mutex); if (fs_init != 0) { - subvol = priv_glfs_active_subvol (fs); + subvol = glfs_active_subvol (fs); if (subvol) { /* PARENT_DOWN within priv_glfs_subvol_done() is issued only on graph switch (new graph should activiate and @@ -808,7 +805,7 @@ pub_glfs_fini (struct glfs *fs) disconnection in the future. */ } - priv_glfs_subvol_done (fs, subvol); + glfs_subvol_done (fs, subvol); } if (gf_log_fini(ctx) != 0) |