From: Alexander Graf Date: Tue, 4 Sep 2018 12:57:54 +0200 Subject: [U-Boot] [PATCH v2 04/23] fs: fat: make directory iterator global for write use In-Reply-To: References: <20180904074948.18146-1-takahiro.akashi@linaro.org> <20180904074948.18146-5-takahiro.akashi@linaro.org> Message-ID: <18EEE289-75D3-4BEA-B666-B4FDBB1278DF@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Am 04.09.2018 um 12:50 schrieb Heinrich Schuchardt : > > > >> On 09/04/2018 11:01 AM, Alexander Graf wrote: >> >> >>> On 04.09.18 09:49, AKASHI Takahiro wrote: >>> Directory iterator was introduced in major re-work of read operation by >>> Rob. We want to use it for write operation extensively as well. >> >> Please indicate in the commit message that write operations are >> implemented in a different .c file and so we have to export the >> respective functions. > > Why? Look at this ugly code: > > fs/fat/fat_write.c:17:#include "fat.c" In that case we don't need this patch at all, no? Alex > > Best regards > > Heinrich > >> >> Alex >>