Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2153044imm; Mon, 3 Sep 2018 21:18:10 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWTMUjA7oIfXRaS3wQ/qyDUf+febY799ERMf+HHY2IBmcbuYet6JN4S3VLm9FT3Hqwi6uq X-Received: by 2002:a65:40cd:: with SMTP id u13-v6mr14411632pgp.334.1536034690762; Mon, 03 Sep 2018 21:18:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536034690; cv=none; d=google.com; s=arc-20160816; b=f9tEaWjU+5gXVjkLmrR6Um77s9RNshAjDebuG8C6nc6ZmGuk9u+FbZFaaUI7o+IoSh MG4yu5dHGgKFSM/ubrgp9SvA0XsPElOU+YeEpzESOi3gi474y40jGOZt257BJoObR/Oq RLWpzsHANITLs0ReGvM7aOxexLq+yA+oiPOfbMek4kNDxJePPyCyM6tNOvmLvobb8Iyx VmTKFq9LBIMZOZEF3wlb5IdDOwkyEy8FKOKlWFonKkQTgirUAqulHRz2HakbfKw7YlZS Ch97S+LK44S85cCemmKpCv1vz4tP1uf4r/25vSze66gqXL9OqGUx5EhLAOGLCCs1FEEZ XDOA== 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:arc-authentication-results; bh=zbs4bxyQFTqzpHBpImNs1lMvjYAmQSbwRdr42aWDwwI=; b=QKerjxvG8UmnHJOIlAyhnTJ/FIW72/RwnVw/XT1rmdVrI8VW81vJ3Vg4ZNCLZ5C1jK CflxR2AvenCaNWzKtBGG6KolBGRQNfiVlySf3toj/QGaPI49ynY/rUTF1AWIxJWkxe21 c5C2tTZpsKo6b54JBtU2JKRZXqzDNBue2jlIqiPVzar4v7xRcdEt9rsEPbvYSczgH3dm s5FhEN9NJ1hoVw/Gb5/bLKISSaMTAG8+aJ+MIRKKcVdh/ejen1uK4PEubiiVbwU1+8FX CcigiMJp61kUWn0gpenwAlEDewk/K2ezDFPCkNDMB7WuMjYv22gCdwt51sgYHRJ5spp5 MTNA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9-v6si16479839pgm.93.2018.09.03.21.17.55; Mon, 03 Sep 2018 21:18:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbeIDIkA (ORCPT + 99 others); Tue, 4 Sep 2018 04:40:00 -0400 Received: from smtp2.provo.novell.com ([137.65.250.81]:51115 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725845AbeIDIj7 (ORCPT ); Tue, 4 Sep 2018 04:39:59 -0400 Received: from Beta.suse.asia (prv-ext-foundry1int.gns.novell.com [137.65.251.240]) by smtp2.provo.novell.com with ESMTP (NOT encrypted); Mon, 03 Sep 2018 22:16:42 -0600 From: Larry Chen To: mark@fasheh.com, jlbec@evilplan.org Cc: linux-kernel@vger.kernel.org, ocfs2-devel@oss.oracle.com, akpm@linux-foundation.org Subject: [PATCH 1/2] add declaration of ocfs2_free_local_alloc_bits Date: Tue, 4 Sep 2018 12:16:20 +0800 Message-Id: <20180904041621.16874-2-lchen@suse.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180904041621.16874-1-lchen@suse.com> References: <20180904041621.16874-1-lchen@suse.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Larry Chen --- fs/ocfs2/alloc.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/ocfs2/alloc.h b/fs/ocfs2/alloc.h index 250bcacdf9e9..5770503b0e36 100644 --- a/fs/ocfs2/alloc.h +++ b/fs/ocfs2/alloc.h @@ -323,4 +323,10 @@ int ocfs2_find_cpos_for_left_leaf(struct super_block *sb, int ocfs2_find_subtree_root(struct ocfs2_extent_tree *et, struct ocfs2_path *left, struct ocfs2_path *right); + +int ocfs2_free_local_alloc_bits(struct ocfs2_super *osb, + handle_t *handle, + struct ocfs2_alloc_context *ac, + u32 bit_off, + u32 num_bits); #endif /* OCFS2_ALLOC_H */ -- 2.13.7