diff options
| author | David Sterba <[email protected]> | 2017-11-08 00:39:58 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-01-22 15:08:14 +0000 |
| commit | b50fff816cbd670ea545ce98ae374356f08f2d75 (patch) | |
| tree | 583500f65c4a3b0db13963d7bec475c70dc8467c /fs/btrfs/dev-replace.c | |
| parent | btrfs: remove unused member of btrfs_trans_handle (diff) | |
| download | kernel-b50fff816cbd670ea545ce98ae374356f08f2d75.tar.gz kernel-b50fff816cbd670ea545ce98ae374356f08f2d75.zip | |
btrfs: switch to refcount_t type for btrfs_trans_handle::use_count
The use_count is a reference counter, we can use the refcount_t type,
though we don't use the atomicity. This is not a performance critical
code and we could catch the underflows. The type is changed from long,
but the number of references will fit an int.
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
