]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: add a xfs_bmap_fork_to_state helper
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 17 Nov 2017 04:11:32 +0000 (22:11 -0600)
commit7bd43334b9ab6c19ca327f7e7213acb16c7f7204
treedfa767948f9ed717d159c99e9ff8f00ae5677448
parent821a9754c9dbb22e20d93b40d4db3dfee94cfc92
xfs: add a xfs_bmap_fork_to_state helper

Source kernel commit: 060ea65b39409f3b9952dfa6db5fbe4355e6888a

This creates the right initial bmap state from the passed in inode
fork enum.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h