Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4208951imm; Fri, 18 May 2018 00:54:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrtA/6H3rzDgVjfPSnEkScJxuzVN6npAiJWNZLwzWww4EHk2xhWVNkWc5msSZ/u2U/+C4XM X-Received: by 2002:a62:18d6:: with SMTP id 205-v6mr8378444pfy.242.1526630078426; Fri, 18 May 2018 00:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526630078; cv=none; d=google.com; s=arc-20160816; b=SOJ/SxRUIPfzBAGFG1zKM63xTL/a6e0064x1R9RHHTobvJRwiQ8VPCescUBuG13czn Z3SIgWGE5vtUn9tFKtYxNr8G20x0lnEJaCt3iY/v96Yf6CtjlOJv0x9IPwO+nqCmba3Y Jmu3fCpKMjDeKm2IlW5RPQ45L7fOVK0y2oUQhnyyINb0azyYMo61PKBpW1guj2x0FglU If+i1+q3oy4Y4Qqh0nn9FcgAUa1DTymcQDOxRWqMFvpV3z9jWM/Xd/sfdcVjKV5smXCN rZs3bgOnu5YxnrSfNuRWTbGpX0CgzQ9wusSFZ4K0caCjgSyyFrimOlYrkBC0UEpEuUrU CK7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=fhs3iBbU8KB5j+HfN3/Z4yb1x9rUE44/rNj4/oGVjto=; b=tboTMYy7YFaftvSvZSs/YH8N8wDOjewz6XoylC00Y1CS/MSJesq6V+C/KbF+bO29pW vaMdGHVKVNCAo85drpiL4KQV/a+X8/M1CsNEXKKw5UNy4p9mtxtm/HocK19Bwye6dSYr z7fkzy/UgYZgQFDh6cvleCECZBdWOMiLBHYl/HIkUWd56yaLBgMC5FOW3TspjNARPBXB BOAVCkuR0y8TMzFk1hm4lW3mD/vhjtXquiE/ZE6Z+sNXlomMHM9+9PPxmv6G1lTIGPFN UjhgyqlkvUBsh1uu7koyOaUsKcnZ1wpIDt3ogY159XylRu9K0RONBeRqL8ucDbGBcKGu qfFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RPFYcYO7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5-v6si5446947pgp.666.2018.05.18.00.54.24; Fri, 18 May 2018 00:54:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RPFYcYO7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752322AbeERHuI (ORCPT + 99 others); Fri, 18 May 2018 03:50:08 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:40920 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752080AbeERHuD (ORCPT ); Fri, 18 May 2018 03:50:03 -0400 Received: by mail-qt0-f196.google.com with SMTP id h2-v6so9160531qtp.7; Fri, 18 May 2018 00:50:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fhs3iBbU8KB5j+HfN3/Z4yb1x9rUE44/rNj4/oGVjto=; b=RPFYcYO7SarlBRHBBaAu/qYYrWEu+ArVyp9Hfg/aCNSM1tTSATz5XwI/PTUrnHCTRn C80zd0cT3CWjwtect7kZyj+GxV5DsytOMxfFNgJYfZlR7Y/b0U3lpcsoZVfN+bhxFsoR u+h/+CslSHNdygqet+RC+qolukMR19KLFag8i4RvzHWN1ndxHC+s+DAgdM/cEaSXgJcL GDgL0pp4DI+ECExadwXvLrpdjSP8H70cfF9A1J44mfsP+Zj4B9KcQb9Gv13LfaYPMZ7y y2uew6lLo8s2z/Vw2Gd0mOxsSKcJxMKKqXceXD9+0lqOjtVSVJvN8M07/t7YxYGmCm60 pjMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fhs3iBbU8KB5j+HfN3/Z4yb1x9rUE44/rNj4/oGVjto=; b=TBgDFBhhVrtTaX36xxPEgte/oxLDBD400BKZU3CXgs8LLdmxobEbzLnWhra+WnY5f1 UKn/cg+Y+T01y7arVood65JcMaviJAEPym7hry10/o4Hu/qjCY04tfo7/OfYDG37NAoH yMk2McMywB/9/dMOEAPMYppAXxkM9ecttBkW1Uxv1r5AOFuiXUMqPVDA5SLXJkcN/7iB qwK1Uhv4gtpoBp5dA2n3z7ZqoiDV80hPzabkFJWDG2TTQBy60c0cMHoyQ0cLWcuNmkzr oOqxTdFK/ElpkBsdNAFwe0ELQ9oKQj3Kl56P2HVOnZ80yiv7Phqi5aVEYsrfi4g410pM JOFA== X-Gm-Message-State: ALKqPwe/WEC+s5+UE9BONR/u+brstHIrMqFP2O78DmiHmmqIEItKlVtL bK5Xqbl/Az5Omk7MHhESMqvhy6i7xQ== X-Received: by 2002:ac8:5313:: with SMTP id t19-v6mr8314382qtn.71.1526629802648; Fri, 18 May 2018 00:50:02 -0700 (PDT) Received: from localhost.localdomain (c-71-234-172-214.hsd1.vt.comcast.net. [71.234.172.214]) by smtp.gmail.com with ESMTPSA id s64-v6sm5443004qkl.85.2018.05.18.00.50.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 00:50:01 -0700 (PDT) From: Kent Overstreet To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: Kent Overstreet , Andrew Morton , Dave Chinner , darrick.wong@oracle.com, tytso@mit.edu, linux-btrfs@vger.kernel.org, clm@fb.com, jbacik@fb.com, viro@zeniv.linux.org.uk, willy@infradead.org, peterz@infradead.org Subject: [PATCH 04/10] locking: export osq_lock()/osq_unlock() Date: Fri, 18 May 2018 03:49:06 -0400 Message-Id: <20180518074918.13816-9-kent.overstreet@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518074918.13816-1-kent.overstreet@gmail.com> References: <20180518074918.13816-1-kent.overstreet@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Kent Overstreet --- kernel/locking/osq_lock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/locking/osq_lock.c b/kernel/locking/osq_lock.c index 6ef600aa0f..dfa71347b0 100644 --- a/kernel/locking/osq_lock.c +++ b/kernel/locking/osq_lock.c @@ -202,6 +202,7 @@ bool osq_lock(struct optimistic_spin_queue *lock) return false; } +EXPORT_SYMBOL_GPL(osq_lock); void osq_unlock(struct optimistic_spin_queue *lock) { @@ -229,3 +230,4 @@ void osq_unlock(struct optimistic_spin_queue *lock) if (next) WRITE_ONCE(next->locked, 1); } +EXPORT_SYMBOL_GPL(osq_unlock); -- 2.17.0