From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: [PATCH 1/6] blkcg: blkg_rwstat_read() was missing inline Date: Mon, 16 Apr 2012 13:57:22 -0700 Message-ID: <1334609847-12747-2-git-send-email-tj@kernel.org> References: <1334609847-12747-1-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=VxEZ6qMI2ZRKSBtYcA66FU7X/6jmGTVz92GNWmz3tuM=; b=NEPu3/KizpkyJiXPWBfhF/GumgJsgM/VcRF90hwrJrdd7jAL6omGGo8Yw67KznuMPE URz4FEYYP7UaIB7LO2U91MJBnyO7tkqJrsr78Iu/Mjk+B8Cm2P6PROvk6OUn4s7ocubJ C0KZo40HAHAlNVw2EiJDAycaWbRUD+QU5nsZxXcYgK9HrZUHimuLSHc19LKjbSR8FtR8 FxvuNqMIfAEpnNGZQ0fKtytG0OSyWrC6kuKo4kyeXrQwEtI6XANrEcHlnauIFTpTcogd i5TAMi0spuPKidKRLkDQ4KngGfU6Sn9oYUhERfwY2iWg13s6W/MtPQozxVbgyEqtEWzf 5bbw== In-Reply-To: <1334609847-12747-1-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: axboe-tSWWG44O7X1aa/9Udqfwiw@public.gmane.org Cc: ctalbott-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, rni-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Tejun Heo , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org blkg_rwstat_read() in blk-cgroup.h was missing inline modifier causing compile warning depending on configuration. Add it. Signed-off-by: Tejun Heo Cc: Vivek Goyal --- block/blk-cgroup.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 222063d..ef6550a 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h @@ -279,7 +279,7 @@ static inline void blkg_rwstat_add(struct blkg_rwstat *rwstat, * This function can be called without synchronization and takes care of * u64 atomicity. */ -static struct blkg_rwstat blkg_rwstat_read(struct blkg_rwstat *rwstat) +static inline struct blkg_rwstat blkg_rwstat_read(struct blkg_rwstat *rwstat) { unsigned int start; struct blkg_rwstat tmp; -- 1.7.7.3