From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VMBXf-00015d-Rn for barebox@lists.infradead.org; Wed, 18 Sep 2013 06:47:16 +0000 Date: Wed, 18 Sep 2013 08:46:53 +0200 From: Sascha Hauer Message-ID: <20130918064653.GF30088@pengutronix.de> References: <1379404064-6100-1-git-send-email-plagnioj@jcrosoft.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1379404064-6100-1-git-send-email-plagnioj@jcrosoft.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/1] Fix lseek on fat filesystems. To: Jean-Christophe PLAGNIOL-VILLARD Cc: barebox@lists.infradead.org, Fargier Sylvain On Tue, Sep 17, 2013 at 09:47:44AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > From: Fargier Sylvain > > FILE object was not updated properly when seeking. > > Signed-off-by: Fargier Sylvain > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Applied, thanks Sascha > --- > fs/fat/fat.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/fat/fat.c b/fs/fat/fat.c > index 871fe4b..15879c4 100644 > --- a/fs/fat/fat.c > +++ b/fs/fat/fat.c > @@ -277,6 +277,7 @@ static loff_t fat_lseek(struct device_d *dev, FILE *f, loff_t pos) > if (ret) > return ret; > > + f->pos = pos; > return pos; > } > > -- > 1.8.4.rc1 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox