summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e1248d2)
We need to do the rmdir after clearing mount_path.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
return -1;
dev->mounted = false;
return -1;
dev->mounted = false;
- talloc_free(dev->mount_path);
- dev->mount_path = NULL;
pb_rmdir_recursive(mount_base(), dev->mount_path);
pb_rmdir_recursive(mount_base(), dev->mount_path);
+ talloc_free(dev->mount_path);
+ dev->mount_path = NULL;
+