]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add a xfs_bmap_fork_to_state helper
authorChristoph Hellwig <hch@lst.de>
Thu, 19 Oct 2017 18:02:29 +0000 (11:02 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Oct 2017 22:38:26 +0000 (15:38 -0700)
commit86de39e20dd12de0b75cbad10474fadcdbeb481c
tree86783feffcf3652cdcac60f7fd1a34ec9b020b21
parentf44d0b88bbd0b579d9fe6b8472e04c9b9254df86
xfs: add a xfs_bmap_fork_to_state helper

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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h