Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754507Ab3J0Npl (ORCPT ); Sun, 27 Oct 2013 09:45:41 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:35319 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754053Ab3J0Npk (ORCPT ); Sun, 27 Oct 2013 09:45:40 -0400 From: OGAWA Hirofumi To: Namjae Jeon Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, a.sahrawat@samsung.com, Namjae Jeon Subject: Re: [PATCH 3/5] fat: zero out seek range on _fat_get_block References: <1381329653-11905-1-git-send-email-linkinjeon@gmail.com> <87sivmygnq.fsf@devron.myhome.or.jp> Date: Sun, 27 Oct 2013 22:45:37 +0900 In-Reply-To: <87sivmygnq.fsf@devron.myhome.or.jp> (OGAWA Hirofumi's message of "Sun, 27 Oct 2013 22:42:01 +0900") Message-ID: <87ob6ayghq.fsf@devron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 22 OGAWA Hirofumi writes: > Namjae Jeon writes: > >> + last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) >> + >> blocksize_bits; >> + disk_block = (MSDOS_I(inode)->i_disksize + (blocksize - 1)) >> + >> blocksize_bits; >> + if (iblock >= last_block && iblock <= disk_block) { >> + MSDOS_I(inode)->mmu_private += >> + *max_blocks << blocksize_bits; > > Hm, mmu_private is not increased by write_begin()? Ah, ok. I understood what this is doing. Please ignore this comment. -- 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/