]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove if_rdev
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:33 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:33 +0000 (22:11 -0600)
commit551174eb7a8397b4fcb202ec950db11c9cec541e
tree7fe7f8f55f64b431591f6255122c7ca6cf4c5507
parent95817f590c8a72b54b35c1ce179e04413fb4ee85
xfs: remove if_rdev

Source kernel commit: 66f364649d870c7541c30a2f02a32fd4c88684f0

We can simply use the i_rdev field in the Linux inode and just convert
to and from the XFS dev_t when reading or logging/writing the inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
[sandeen: add i_rdev to our mocked up inode in userspace]
[djwong: use IRIX_DEV macros, assign in i_rdev in libxfs_ialloc]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/xfs_inode.h
libxfs/libxfs_priv.h
libxfs/util.c
libxfs/xfs_inode_fork.c
libxfs/xfs_inode_fork.h