quota: add missing lock into __dquot_transfer()
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sat, 9 Sep 2017 09:19:22 +0000 (12:19 +0300)
committerJan Kara <jack@suse.cz>
Mon, 18 Sep 2017 10:23:58 +0000 (12:23 +0200)
commit0a51fb7174f2b7866b4d7a4a5c23b685b674beb6
tree8247a34b9678d343e2f1970f9221cd743154ec54
parent0666f560b71b899cd11a7caf39fd45129e9030fd
quota: add missing lock into __dquot_transfer()

Lock dq_dqb_lock around dquot_decr_inodes()

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Fixes: 7b9ca4c61bc2 ("quota: Reduce contention on dq_data_lock")
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c