diff options
-rw-r--r-- | api/src/glfs-resolve.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/glfs-resolve.c b/api/src/glfs-resolve.c index 4a634df6e..beb270322 100644 --- a/api/src/glfs-resolve.c +++ b/api/src/glfs-resolve.c @@ -797,6 +797,9 @@ glfs_subvol_done (struct glfs *fs, xlator_t *subvol) int ref = 0; xlator_t *active_subvol = NULL; + if (!subvol) + return; + glfs_lock (fs); { ref = (--subvol->winds); |