summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-12-12 17:46:24 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2018-12-12 17:47:16 +0100
commit43004b2a8da2652b5ec526269a8acfba7d3d219c (patch)
tree197c76e61334c576f18530dd05a86958aac4101e /fs/cifs
parentxfs: remove xfs_rmap_ag_owner and friends (diff)
downloadlinux-43004b2a8da2652b5ec526269a8acfba7d3d219c.tar.xz
linux-43004b2a8da2652b5ec526269a8acfba7d3d219c.zip
xfs: add a block to inode count converter
Add new helpers to convert units of fs blocks into inodes, and AG blocks into AG inodes, respectively. Convert all the open-coded conversions and XFS_OFFBNO_TO_AGINO(, , 0) calls to use them, as appropriate. The OFFBNO_TO_AGINO macro is retained for xfs_repair. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/cifs')
0 files changed, 0 insertions, 0 deletions