[PATCH 1/2 V2] xfs_io: include headers for preadv/pwritev

Dave Chinner david at fromorbit.com
Wed Oct 10 18:24:43 CDT 2012


On Tue, Oct 09, 2012 at 10:37:25PM -0500, Eric Sandeen wrote:
> We need to include uio.h to avoid:
> 
>     [CC]     pread.o
> pread.c: In function ‘do_pread’:
> pread.c:198: warning: implicit declaration of function ‘preadv’
>     [CC]     pwrite.o
> pwrite.c: In function ‘do_pwrite’:
> pwrite.c:85: warning: implicit declaration of function ‘pwritev’
> 
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>

Looks good.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list