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)
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

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge