From patchwork Sun Jan 10 03:04:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 7993951 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4745BEEE5 for ; Sun, 10 Jan 2016 03:05:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD09D2024D for ; Sun, 10 Jan 2016 03:05:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 191C02024C for ; Sun, 10 Jan 2016 03:05:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756748AbcAJDEc (ORCPT ); Sat, 9 Jan 2016 22:04:32 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:33650 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756714AbcAJDEc (ORCPT ); Sat, 9 Jan 2016 22:04:32 -0500 Received: by mail-pa0-f52.google.com with SMTP id cy9so303298120pac.0 for ; Sat, 09 Jan 2016 19:04:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=DhkHc3n5NMGIWKQ9Fb3T3t6L4N48dNLUSDqDI7tEQck=; b=CyVFWfwMKNxbsSWtTtpO5euJXb9IR9SuF/2pQcLpKuV5Ozz+LphYGixf5wEH3RzKOh msfIqrwt5gDcZaEK7Sm2KXilSySenuoNXz4uLIdnKopW9IAzR2Dix+ACOSlh5UCCfUlm zmVKmlUoTplxaEVRB119Mxik+eWMCBAvcrgXG07lF7E9UHEOMIsLDSpguS3jfkHU3X1t 1sLnmGxVx+a1MJO1coDkZO5rSWi8GqSA00lC2j3YEp/JQZs9vzq2QU5YE33rHmIlSFn7 Bg+t6iRiXXzD2WZy/KGCoPp/Y6WpHLAeu9WGOq75g5MAw5r03oZVCJxgKFHlmTqwAtM8 Lrow== X-Received: by 10.66.102.9 with SMTP id fk9mr163236928pab.77.1452395071678; Sat, 09 Jan 2016 19:04:31 -0800 (PST) Received: from arch.hsd1.ca.comcast.net (c-73-252-206-77.hsd1.ca.comcast.net. [73.252.206.77]) by smtp.gmail.com with ESMTPSA id xv2sm8021854pab.10.2016.01.09.19.04.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 Jan 2016 19:04:30 -0800 (PST) From: Khem Raj To: linux-btrfs@vger.kernel.org Cc: Khem Raj Subject: [PATCH] btrfs-corrupt-blocks: Include limits.h Date: Sat, 9 Jan 2016 19:04:23 -0800 Message-Id: <1452395063-8414-1-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 2.7.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP limits.h is needed for PATH_MAX definition Fixes | btrfs-corrupt-block.c: In function 'corrupt_dir_item': | btrfs-corrupt-block.c:478:12: error: 'PATH_MAX' undeclared (first use in this function) | char name[PATH_MAX]; Signed-off-by: Khem Raj --- btrfs-corrupt-block.c | 1 + 1 file changed, 1 insertion(+) diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c index 0b26903..c908b7e 100644 --- a/btrfs-corrupt-block.c +++ b/btrfs-corrupt-block.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "kerncompat.h" #include "ctree.h"