[PATCH 2/2] fs: add pread and pwrite functions

Alexander Aring alex.aring at gmail.com
Tue Feb 19 15:30:59 EST 2013


Hi Sascha,

On Tue, Feb 19, 2013 at 08:33:39PM +0100, Sascha Hauer wrote:
> Hi Alexander,
> 
> On Sun, Feb 17, 2013 at 10:05:01PM +0100, Alexander Aring wrote:
> > Add pread and pwrite functions.
> > 
> > Split read and write functions to save some space.
> > The functions pread and pwrite saves and sets the file
> > position to a given offset and restore them afterwards.
> > 
> > Signed-off-by: Alexander Aring <alex.aring at gmail.com>
> 
> This currently breaks compilation of the nandtest command. We have two
> options: Either rename pread/pwrite functions in the nandtest command or
> just drop the static versions in the nandtest command.
> 
> Sascha
> 

Yes, I know... I have already Patches for this. I punish myself, because
it were better to add this changes into this patch series.

First patch series v1 has them include.
I will resend them now.

Regards
Alex



More information about the barebox mailing list