From: Jaegeuk Kim Subject: Re: [PATCH 1/2] f2fs: increase the number of max hard links Date: Fri, 14 Aug 2015 16:22:45 -0700 Message-ID: <20150814232245.GA24897@jaegeuk-mac02.mot.com> References: <1439256205-8906-1-git-send-email-jaegeuk@kernel.org> <00b601d0d4e3$4d71e940$e855bbc0$@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net To: Chao Yu Return-path: Content-Disposition: inline In-Reply-To: <00b601d0d4e3$4d71e940$e855bbc0$@samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net List-Id: linux-fsdevel.vger.kernel.org Change log from v1: o increase to the maximum since we have 32 bit structure >From 448ffa6a623cae1c3537114b9d10f92d1ddf03f5 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 10 Aug 2015 15:01:12 -0700 Subject: [PATCH] f2fs: increase the number of max hard links This patch increases the number of maximum hard links for one file. Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index a55169a..00591f7 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -322,7 +322,7 @@ enum { */ }; -#define F2FS_LINK_MAX 32000 /* maximum link count per file */ +#define F2FS_LINK_MAX 0xffffffff /* maximum link count per file */ #define MAX_DIR_RA_PAGES 4 /* maximum ra pages of dir */ -- 2.1.1 ------------------------------------------------------------------------------