From patchwork Tue Sep 18 10:52:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miao Xie X-Patchwork-Id: 1471851 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 9E0D1400EC for ; Tue, 18 Sep 2012 10:53:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757955Ab2IRKxD (ORCPT ); Tue, 18 Sep 2012 06:53:03 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:30781 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1757951Ab2IRKxC (ORCPT ); Tue, 18 Sep 2012 06:53:02 -0400 X-IronPort-AV: E=Sophos;i="4.80,443,1344182400"; d="scan'208";a="5864910" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 18 Sep 2012 18:51:44 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id q8IAr0uX016412 for ; Tue, 18 Sep 2012 18:53:00 +0800 Received: from [10.167.225.199] ([10.167.225.199]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2012091818531776-907576 ; Tue, 18 Sep 2012 18:53:17 +0800 Message-ID: <5058528B.40106@cn.fujitsu.com> Date: Tue, 18 Sep 2012 18:52:59 +0800 From: Miao Xie Reply-To: miaox@cn.fujitsu.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Linux Btrfs Subject: [PATCH V4 2/7] Btrfs-progs: fix compile warning of implicit declaration of "list_snapshots" References: <50584E6D.8000602@cn.fujitsu.com> In-Reply-To: <50584E6D.8000602@cn.fujitsu.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/09/18 18:53:17, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/09/18 18:53:17, Serialize complete at 2012/09/18 18:53:17 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Miao Xie This patch fixes the following warning: cmds-subvolume.c:283:3: warning: implicit declaration of function "list_snapshots" Signed-off-by: Miao Xie --- Changelog v3 -> v4: - no change. Changelog v1 -> v3: - new patch. --- btrfs-list.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/btrfs-list.h b/btrfs-list.h index 96f3641..b4a7f30 100644 --- a/btrfs-list.h +++ b/btrfs-list.h @@ -17,5 +17,6 @@ */ int list_subvols(int fd, int print_parent, int get_default, int print_uuid); +int list_snapshots(int fd, int print_parent, int order, int print_uuid); int find_updated_files(int fd, u64 root_id, u64 oldest_gen); char *path_for_root(int fd, u64 root);