Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp846153pxj; Thu, 3 Jun 2021 22:52:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpjPU1yQ2x+6NcKA18MbblNPdAOeg6KYvPxNyizJz2Vyf8PBublp/2hqAxqrqlty+8hBes X-Received: by 2002:a05:6402:35d4:: with SMTP id z20mr2944467edc.164.1622785939321; Thu, 03 Jun 2021 22:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622785939; cv=none; d=google.com; s=arc-20160816; b=onN4bZWr0lKCe9sLDv22AjofyJM9HGGh7hasRUVCUTJooh7VfAPOSf+zGIg3ticLtt qr5e1vrqRgX1tNIZHghlOxj8EyANi8egiIdQTnWr3XwXBhqI9xjkuuvVYVm0VjOMPGW2 lBW3uSzu9qzdFkecJbowhTJLK+wdrj1nR6OnnEUMPSIbwQ4GaW2AMfO191vFZCSAm2hx LIkrj6w7/BtGY09yIrxBwPDSwXJBBVXp+LC8/PSb257vV1BLE8o3HorxEtfpFWkQj11t 3AA2YlsmPQF6IDuIVpP+0qFTp7ageqdkFsQy0zyjBpRinfX0zrQuG56Gm6Yc0kjncG+C A5SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o8CNOzEnNASS+tZ697pb0uaJyjUmW/Iy7XK4hy+4Kc0=; b=eNnyJI9MTY5zg06IZ5AZ4DC+F5/cdN5Ez3YH5TJS8Tv5Xabtk4eMej5TL8oLGVWP/j vRJKV6hkj0xQgZNx3KD5+yxxHhVaxv2M4Ho8HKjiYdmsngVRIPm0h5xeelXbkOD+P6FX Wq+NfwptA+2p4plHx1ZOqwGhYoR09NfBrdgP+mIRwCGGKW2LjLAjfdHaPraMHsIKf1wL PwDgOi/hDgKOZ9T3CIJmZVF6KtI9199blVCCrpX/GiOSj4PH3IQAOO43U5kbabGJk4hQ p8WvRo7OobXpbu2enlnsuwJoughh/cgrQ4MUa+5DyFEnpGzErBdAOkiwlogFfNUuEUoF Dp0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WUQyaw1n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si3830209ejn.102.2021.06.03.22.51.55; Thu, 03 Jun 2021 22:52:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WUQyaw1n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbhFDFwR (ORCPT + 99 others); Fri, 4 Jun 2021 01:52:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:43470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229787AbhFDFwQ (ORCPT ); Fri, 4 Jun 2021 01:52:16 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AA7D261413; Fri, 4 Jun 2021 05:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622785830; bh=nvNiQiEeAOrNdwTJPiUo/5yXO8Aoan+R2K1B6RWArRc=; h=From:To:Cc:Subject:Date:From; b=WUQyaw1nGhDZGPANPzpznarwuftVm5HhoN7n9p9Seupfa6bEOhOwLDUKbCx+soCpS cSNHL6voHfkkbsKohOlFp9NHgmNp6pPUb9HQFAGmIAIF3ZepAnnXr3JSA0u1lZgAbj c1ha1IUsUqdzMD8lvomYgUS+KXuMvqKVVcZIftF5ilzHmt1YDymgZWD/Ic/P9CRHor uBACxiiHsPVcYudIw/HiUJJfhbBMFS6Yw4lz79rLxybV3ir2KqkUrM2dNnHivjAVAJ Vhee53K/4xHZ1EOZP9Ut5cSLAw4ZPbJjI9ecysIB2Uf1AvKLauDvVbATtL6ymyR10K GD8x2+ADlYoAg== From: Jaegeuk Kim To: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Cc: Jaegeuk Kim Subject: [PATCH] f2fs: add pin_file in feature list Date: Thu, 3 Jun 2021 22:50:26 -0700 Message-Id: <20210604055026.2482208-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.32.0.rc1.229.g3e70b5a671-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds missing pin_file feature supported by kernel. Fixes: f5a53edcf01e ("f2fs: support aligned pinned file") Signed-off-by: Jaegeuk Kim --- fs/f2fs/sysfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index 2a76c959a7b4..a1d3ba75c753 100644 --- a/fs/f2fs/sysfs.c +++ b/fs/f2fs/sysfs.c @@ -743,6 +743,7 @@ F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, compr_written_block, compr_written_block); F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, compr_saved_block, compr_saved_block); F2FS_RW_ATTR(F2FS_SBI, f2fs_sb_info, compr_new_inode, compr_new_inode); #endif +F2FS_FEATURE_RO_ATTR(pin_file); /* For ATGC */ F2FS_RW_ATTR(ATGC_INFO, atgc_management, atgc_candidate_ratio, candidate_ratio); @@ -856,6 +857,7 @@ static struct attribute *f2fs_feat_attrs[] = { #ifdef CONFIG_F2FS_FS_COMPRESSION ATTR_LIST(compression), #endif + ATTR_LIST(pin_file), NULL, }; ATTRIBUTE_GROUPS(f2fs_feat); -- 2.32.0.rc1.229.g3e70b5a671-goog