]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: return a void pointer from xfs_buf_offset
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2015 01:04:56 +0000 (11:04 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 31 Jul 2015 01:04:56 +0000 (11:04 +1000)
commit92acb89960885300332967b0c743146e7966c98c
treeb70653579f3355355a5ed8b0e88e906972cb694a
parent618ba5713f12861385883e6faa27b54035648f66
xfs: return a void pointer from xfs_buf_offset

This avoids all kinds of unessecary casts in an envrionment like Linux where
we can assume that pointer arithmetics are support on void pointers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/libxfs_io.h
libxfs/util.c
libxfs/xfs_ialloc.h
libxfs/xfs_inode_buf.c