diff options
author | 2008-08-13 16:13:45 +1000 | |
---|---|---|
committer | 2008-08-13 16:13:45 +1000 | |
commit | 907f49a8f552acc5d75635e86d567f05daf5c0d8 (patch) | |
tree | a6c835cf6b5be39111c0107039e8123e273339a2 /lib/bitmap.c | |
parent | [XFS] remove remaining VN_HOLD calls (diff) | |
download | linux-dev-907f49a8f552acc5d75635e86d567f05daf5c0d8.tar.xz linux-dev-907f49a8f552acc5d75635e86d567f05daf5c0d8.zip |
[XFS] implement IHOLD/IRELE directly
Now that all direct calls to VN_HOLD/VN_RELE are gone we can implement
IHOLD/IRELE directly.
For the IHOLD case also replace igrab with a direct increment of i_count
because we are guaranteed to already have a live and referenced inode by
the VFS. Also remove the vn_hold statistic because it's been rather
meaningless for some time with most references done by other callers.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31764a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions