From: Sascha Wildner Date: Sun, 1 Jan 2012 01:31:11 +0000 (+0100) Subject: kernel/vfs_quota: Add a missing spin_unlock(). X-Git-Tag: v3.0.0~214 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/d9656636c316181df8a4e1f30a851a9847283c27 kernel/vfs_quota: Add a missing spin_unlock(). --- diff --git a/sys/kern/vfs_quota.c b/sys/kern/vfs_quota.c index 43efeff..339bd7a 100644 --- a/sys/kern/vfs_quota.c +++ b/sys/kern/vfs_quota.c @@ -237,6 +237,7 @@ cmd_set_usage_all(struct mount *mp, prop_array_t args) iter = prop_array_iterator(args); if (iter == NULL) { kprintf("cmd_set_usage_all(): failed to create iterator\n"); + spin_unlock(&mp->mnt_acct.ac_spin); return 1; } while ((item = prop_object_iterator_next(iter)) != NULL) {