diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-19 18:58:56 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-20 00:11:34 +0300 |
commit | 378f681c4b588c0432236e5517bf47b7e54ff2dc (patch) | |
tree | 7d5ab6268ac52f10a6085c3a1edaaea83d83f30b /arch/nios2 | |
parent | e936945ee49693f40217db82a7db55c94e34ce4c (diff) | |
download | linux-378f681c4b588c0432236e5517bf47b7e54ff2dc.tar.xz |
xfs: check if an inode is cached and allocated
Check the inode cache for a particular inode number. If it's in the
cache, check that it's not currently being reclaimed. If it's not being
reclaimed, return zero if the inode is allocated. This function will be
used by various scrubbers to decide if the cache is more up to date
than the disk in terms of checking if an inode is allocated.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions