From d9656636c316181df8a4e1f30a851a9847283c27 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sun, 1 Jan 2012 02:31:11 +0100 Subject: [PATCH] kernel/vfs_quota: Add a missing spin_unlock(). --- sys/kern/vfs_quota.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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) { -- 1.7.7.2