diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2017-11-23 22:15:43 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-01-17 15:16:14 +0100 |
commit | ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe (patch) | |
tree | 89fc4c9f1ff7226bb157c8ccf92b265186c02747 /drivers/md/dm-kcopyd.c | |
parent | dm flakey: check for null arg_name in parse_features() (diff) | |
download | linux-ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe.tar.xz linux-ae1093be5a0ef997833e200a0dafb9ed0b1ff4fe.zip |
dm snapshot: use mutex instead of rw_semaphore
The rw_semaphore is acquired for read only in two places, neither is
performance-critical. So replace it with a mutex -- which is more
efficient.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-kcopyd.c')
0 files changed, 0 insertions, 0 deletions