[PATCH] xfsprogs: skip FSGEOMETRY call in openfile if no geom var present

Christoph Hellwig hch at infradead.org
Fri Feb 17 11:21:32 CST 2012


On Tue, Feb 14, 2012 at 10:37:55AM -0800, Eric Sandeen wrote:
> sendfile_f() calls openfile() with NULL *geom even if it's on an
> xfs filesystem, so we need to skip the ioctl if (!geom).
> 
> Fixes regression from d1b88183bb3fc5e338746db53269310348646753
> 
> Reported-by: Christoph Hellwig <hch at infradead.org>
> Signed-off-by: Eric Sandeen <sandeen at redhat.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list