Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754068AbaBDKUf (ORCPT ); Tue, 4 Feb 2014 05:20:35 -0500 Received: from mail-qa0-f51.google.com ([209.85.216.51]:46569 "EHLO mail-qa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753239AbaBDKU2 (ORCPT ); Tue, 4 Feb 2014 05:20:28 -0500 MIME-Version: 1.0 In-Reply-To: <87ioswx1xq.fsf@devron.myhome.or.jp> References: <1387953050-2692-1-git-send-email-linkinjeon@gmail.com> <87ioswx1xq.fsf@devron.myhome.or.jp> Date: Tue, 4 Feb 2014 19:20:27 +0900 Message-ID: Subject: Re: [PATCH v3 1/6] fat: add i_disksize to represent uninitialized size From: Namjae Jeon To: OGAWA Hirofumi Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Namjae Jeon , Amit Sahrawat Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2014-02-03, OGAWA Hirofumi : > Namjae Jeon writes: > >> From: Namjae Jeon >> >> Add i_disksize to represent uninitialized allocated size. >> And mmu_private represent initialized allocated size. > > Don't we need to update ->i_disksize after cont_write_begin()? We don't need to update i_disksize after cont_write_begin. It is taken care by the fat_get_block after the allocation. For all write paths we align the mmu_private and i_disksize from fat_fill_inode and fat_get_block. Thanks. > -- > OGAWA Hirofumi > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/