diff options
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 2f1ffe98da2..5f65172cdb8 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -6851,8 +6851,10 @@ notify (xlator_t *this, (void) gf_thread_cleanup_xint (priv->fsyncer); priv->fsyncer = 0; } - if (priv->mount_lock) + if (priv->mount_lock) { (void) sys_closedir (priv->mount_lock); + priv->mount_lock = NULL; + } break; default: |