diff options
author | Darrick J. Wong <[email protected]> | 2024-07-02 11:23:11 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2024-07-02 11:37:07 -0700 |
commit | e51987a12cb57ca3702bff5df8a615037b2c8f8a (patch) | |
tree | d6c7bd346efe0ee5ffd07bf065224c93820ad797 /scripts/rustdoc_test_builder.rs | |
parent | bac3f784925299b5e69a857e7e03e59c88aa14be (diff) |
xfs: simplify usage of the rcur local variable in xfs_refcount_finish_one
Only update rcur when we know the final *pcur value.
Inspired-by: Christoph Hellwig <[email protected]>
[djwong: don't leave the caller with a dangling ref]
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions