diff options
author | Damien Le Moal | 2018-10-17 18:05:07 +0900 |
---|---|---|
committer | Mike Snitzer | 2018-10-18 15:15:23 -0400 |
commit | 33c2865f8d011a2ca9f67124ddab9dc89382e9f1 (patch) | |
tree | 5680e9ef136dd26d8d313380bbd87f758128d349 /fs/ubifs | |
parent | d857ad75edf3c0066fcd920746f9dc75382b3324 (diff) |
dm zoned: fix metadata block ref counting
Since the ref field of struct dmz_mblock is always used with the
spinlock of struct dmz_metadata locked, there is no need to use an
atomic_t type. Change the type of the ref field to an unsigne
integer.
Fixes: 3b1a94c88b79 ("dm zoned: drive-managed zoned block device target")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions