]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: return a void pointer from xfs_buf_offset
authorChristoph Hellwig <hch@lst.de>
Sun, 21 Jun 2015 23:44:29 +0000 (09:44 +1000)
committerDave Chinner <david@fromorbit.com>
Sun, 21 Jun 2015 23:44:29 +0000 (09:44 +1000)
commit88ee2df7f2591133731c29d0ee93f3d37691df85
tree780e3d17196d016cd543b4ff20acd83a321afe5d
parentfc51c2b5f8ce962355bee19aa58451bb878f0663
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>
fs/xfs/libxfs/xfs_ialloc.h
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_log_recover.c