From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01304C433E7 for ; Fri, 16 Oct 2020 20:55:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A4425218AC for ; Fri, 16 Oct 2020 20:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602881726; bh=h9ovc75rYMoybTcD/OVwThwkqCsHYxjnrIykF1wY+PM=; h=Date:From:To:Subject:Reply-To:List-ID:From; b=J+uDe8MCEemcQ1KKorFns5R5UVsmJisUnHUOrGm4H4D/FbYxlFXlsnSbcRZULdnAi sdnf+yjNWsDVwlLT3q/S6CwHFyrPLDsLTe7jpvD1rD7h6xHdfeHijW8anbCMmLr7Xr HEq08Ih7AmzMynkfXpQnipmxhN3cjw5Duw9toytk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409445AbgJPUz0 (ORCPT ); Fri, 16 Oct 2020 16:55:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:42812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732596AbgJPUz0 (ORCPT ); Fri, 16 Oct 2020 16:55:26 -0400 Received: from localhost.localdomain (c-71-198-47-131.hsd1.ca.comcast.net [71.198.47.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8F93A216C4; Fri, 16 Oct 2020 20:55:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602881724; bh=h9ovc75rYMoybTcD/OVwThwkqCsHYxjnrIykF1wY+PM=; h=Date:From:To:Subject:From; b=moy9nk4dVfFm+zx610tSgy2bW7QsLPXgqJlOtZ/RuFi4Q9DsnRwbdEMVoCWRRgpkt 27dp7udS2AhN2ThGWweMRNk841WBC8E1bOOHDfAzGzhFvLSzv0AvAcQFGHgmaWcAcS KYEMeQD9PaxfXtewKs8Y3ePTYZkg39/Fym7EyYuI= Date: Fri, 16 Oct 2020 13:55:24 -0700 From: akpm@linux-foundation.org To: dhowells@redhat.com, libing.zhou@nokia-sbell.com, mm-commits@vger.kernel.org, viro@zeniv.linux.org.uk Subject: [merged] romfs-support-inode-blocks-calculation.patch removed from -mm tree Message-ID: <20201016205524.Yj-RBC5bA%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: ROMFS: support inode blocks calculation has been removed from the -mm tree. Its filename was romfs-support-inode-blocks-calculation.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Libing Zhou Subject: ROMFS: support inode blocks calculation When use 'stat' tool to display file status, the 'Blocks' field always in '0', this is not good for tool 'du'(e.g.: busybox 'du'), it always output '0' size for the files under ROMFS since such tool calculates number of 512B Blocks. This patch calculates approx. number of 512B blocks based on inode size. Link: http://lkml.kernel.org/r/20200811052606.4243-1-libing.zhou@nokia-sbell.com Signed-off-by: Libing Zhou Cc: David Howells Cc: Al Viro Signed-off-by: Andrew Morton --- fs/romfs/super.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/romfs/super.c~romfs-support-inode-blocks-calculation +++ a/fs/romfs/super.c @@ -356,6 +356,7 @@ static struct inode *romfs_iget(struct s } i->i_mode = mode; + i->i_blocks = (i->i_size + 511) >> 9; unlock_new_inode(i); return i; _ Patches currently in -mm which might be from libing.zhou@nokia-sbell.com are